menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class StepperAnimationSettings - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class StepperAnimationSettings

    Represents animation settings for the SfStepper component.

    Inheritance
    System.Object
    StepperAnimationSettings
    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

    true if animation is enabled; otherwise, false. The default value is true.

    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved