Class TransitionEffect
Defines a transition effect shader that transitions from one visual to another visual using an interpolated value between 0 and 1.
Inheritance
Inherited Members
Namespace: Microsoft.Expression.Media.Effects
Assembly: OpenSilver.Expression.Interactions.dll
Syntax
public abstract class TransitionEffect : ShaderEffect
Constructors
| Improve this Doc View SourceTransitionEffect()
Updates the shader's variables to the default values.
Declaration
protected TransitionEffect()
Fields
| Improve this Doc View SourceInputProperty
Brush-valued properties that turn into sampler-properties in the shader. Represents the image present in the final state of the transition.
Declaration
public static readonly DependencyProperty InputProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
OldImageProperty
Brush-valued properties that turn into sampler-properties in the shader. Represents the image present in the initial state of the transition.
Declaration
public static readonly DependencyProperty OldImageProperty
Field Value
Type | Description |
---|---|
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).
Declaration
public static readonly DependencyProperty ProgressProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceInput
Gets or sets the Input variable within the shader.
Declaration
public Brush Input { get; set; }
Property Value
Type | Description |
---|---|
Brush |
OldImage
Gets or sets the OldImage variable within the shader.
Declaration
public Brush OldImage { get; set; }
Property Value
Type | Description |
---|---|
Brush |
Progress
Gets or sets the Progress variable within the shader.
Declaration
public double Progress { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
| Improve this Doc View SourceCloneCurrentValue()
Creates a modifiable clone (deep copy) of the TransitionEffect using its current values.
Declaration
public TransitionEffect CloneCurrentValue()
Returns
Type | Description |
---|---|
TransitionEffect |
DeepCopy()
Makes a deep copy of the transition effect. Implements CloneCurrentValue in Silverlight.
Declaration
protected abstract TransitionEffect DeepCopy()
Returns
Type | Description |
---|---|
TransitionEffect | A clone of current instance of transition effect. |