Table of Contents

Class TransitionEffect

Namespace
HeBianGu.Base.WpfBase
Assembly
HeBianGu.Base.WpfBase.dll

Defines a transition effect shader that transitions from one visual to another visual using an interpolated value between 0 and 1.

public abstract class TransitionEffect : ShaderEffect, IAnimatable
Inheritance
TransitionEffect
Implements
Inherited Members
Extension Methods

Constructors

TransitionEffect()

Updates the shader's variables to the default values.

protected TransitionEffect()

Fields

InputProperty

Brush-valued properties that turn into sampler-properties in the shader. Represents the image present in the final state of the transition.

public static readonly DependencyProperty InputProperty

Field Value

DependencyProperty

OldImageProperty

Brush-valued properties that turn into sampler-properties in the shader. Represents the image present in the initial state of the transition.

public static readonly DependencyProperty OldImageProperty

Field Value

DependencyProperty

ProgressProperty

A Dependency property as the backing store for Progress. Also used to represent the state of a transition from start to finish (range between 0 and 1).

public static readonly DependencyProperty ProgressProperty

Field Value

DependencyProperty

Properties

Input

Gets or sets the Input variable within the shader.

public Brush Input { get; set; }

Property Value

Brush

OldImage

Gets or sets the OldImage variable within the shader.

public Brush OldImage { get; set; }

Property Value

Brush

Progress

Gets or sets the Progress variable within the shader.

public double Progress { get; set; }

Property Value

double

Methods

CloneCurrentValue()

Creates a modifiable clone (deep copy) of the TransitionEffect using its current values.

public TransitionEffect CloneCurrentValue()

Returns

TransitionEffect

DeepCopy()

Makes a deep copy of the transition effect. Implements CloneCurrentValue in Silverlight.

protected abstract TransitionEffect DeepCopy()

Returns

TransitionEffect

A clone of current instance of transition effect.