Class SlideTransition
Animating the content one after another in a regular Syncfusion.UI.Xaml.Controls.SlideTransition.Duration.
Namespace: Syncfusion.Windows.Controls
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
public class SlideTransition : ContentTransition
Constructors
SlideTransition()
Declaration
public SlideTransition()
Fields
DirectionProperty
Using a DependencyProperty as the backing store for Direction. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty DirectionProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
DurationProperty
Using a DependencyProperty as the backing store for Duration. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty DurationProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
EasingProperty
Using a DependencyProperty as the backing store for Easing. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty EasingProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Position
Defines a variable for Syncfusion.UI.Xaml.Controls.Position
Declaration
public Position Position
Field Value
Type |
---|
Position |
Properties
Direction
Gets or sets direction of the slide.
Declaration
public SlideDirection Direction { get; set; }
Property Value
Type |
---|
SlideDirection |
Duration
Gets or sets the length of time for which this timeline plays, not counting repetitions.
Declaration
public TimeSpan Duration { get; set; }
Property Value
Type |
---|
System.TimeSpan |
Easing
Gets or sets Windows.UI.Xaml.Media.EasingFunctionBase that allow to apply custom mathematical formulas to animations
Declaration
public EasingFunctionBase Easing { get; set; }
Property Value
Type |
---|
System.Windows.Media.Animation.EasingFunctionBase |
Methods
CreateEnterAnimation(Double)
Create animation for the control while enter
Declaration
public Timeline CreateEnterAnimation(double fromValue)
Parameters
Type | Name | Description |
---|---|---|
System.Double | fromValue | from value |
Returns
Type | Description |
---|---|
System.Windows.Media.Animation.Timeline | returns timeline for animation |
CreateExitAnimation(Double)
Create animation for the control while exit
Declaration
public Timeline CreateExitAnimation(double toValue)
Parameters
Type | Name | Description |
---|---|---|
System.Double | toValue | to value |
Returns
Type | Description |
---|---|
System.Windows.Media.Animation.Timeline | timeline to exit animation |