Class ShaderTransitionProvider
A TransitionProvider that serves as base for shader transition provider adding some handy infrastructure. Shader TransitionProviders could also be implemented by extending TransitionProvider.
Namespace: Telerik.Windows.Controls.TransitionControl
Assembly: Telerik.Windows.Controls.dll
Syntax
public abstract class ShaderTransitionProvider : TransitionProvider
Constructors
ShaderTransitionProvider()
Declaration
protected ShaderTransitionProvider()
Properties
LayoutAnimation
Gets or Sets the type of layout animation to use in addition to the shader animation.
Declaration
public ShaderLayoutAnimation LayoutAnimation { get; set; }
Property Value
ShaderLayoutAnimation
|
Methods
CreateFallBackTransition()
Create a CLR Transition instance that will be used instead of shaders in case shaders are not supported.
Declaration
protected virtual Transition CreateFallBackTransition()
Returns
Transition
A new instance of the Transition class. |
CreateTransition(TransitionContext)
Creates a new Transition with the current settings.
Declaration
public override Transition CreateTransition(TransitionContext context)
Parameters
TransitionContext
context
The state of the scene to animate. |
Returns
Transition
The Transition. |
Overrides
CreateTransitionEffect()
Creates a new shader Transition with the current settings.
Declaration
protected abstract TransitionEffect CreateTransitionEffect()
Returns
TransitionEffect
A new instance of the Transition class. |