Class StepperAnimationSettings
Represents animation settings for the SfStepper component.
Inheritance
Namespace: Syncfusion.Blazor.Navigations
Assembly: Syncfusion.Blazor.dll
Syntax
public class StepperAnimationSettings : OwningComponentBase
Remarks
The StepperAnimationSettings class provides properties to control the animation behavior of the SfStepper component.
Examples
A simple Stepper with animation settings.
<SfStepper>
<StepperSteps>
<StepperStep></StepperStep>
<StepperStep></StepperStep>
<StepperStep></StepperStep>
<StepperStep></StepperStep>
<StepperStep></StepperStep>
</StepperSteps>
<StepperAnimationSettings Enable=true Delay="500" Duration="2000"></StepperAnimationSettings>
</SfStepper>
Constructors
StepperAnimationSettings()
Declaration
public StepperAnimationSettings()
Properties
Delay
Gets or sets the delay before animation start in milliseconds.
Declaration
public double Delay { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The delay before animation start in milliseconds. The default value is 0 milliseconds. |
Remarks
A delay can be applied before animations start, providing control over the timing of the animation sequence.
Duration
Gets or sets the duration of animation in milliseconds.
Declaration
public double Duration { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The duration of animation in milliseconds. The default value is 2000 milliseconds. |
Remarks
This property defines the time it takes for the animations to complete their transition effect.
Enable
Gets or sets a value indicating whether animation is enabled.
Declaration
public bool Enable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
Enabling animations enhances the visual experience when transitioning between steps in the Stepper.
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
---|
System.Threading.Tasks.Task |