menu

Blazor

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

    Show / Hide Table of Contents

    Class SpeedDialAnimationSettings

    Provides a set of options to configure the animation behavior when opening and closing the popup of the SfSpeedDial component, enabling users to customize animation effects, durations, and delays. This helps create a visually appealing and responsive user experience.

    Inheritance
    System.Object
    SpeedDialAnimationSettings
    Namespace: Syncfusion.Blazor.Buttons
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class SpeedDialAnimationSettings : OwningComponentBase
    Remarks

    Use this class as a child component of SfSpeedDial to control the appearance and timing of opening and closing animations for Speed Dial popup items.

    Examples

    A simple SpeedDial with animation settings.

    <SfSpeedDial Content="Edit">
        <SpeedDialItems>
            <SpeedDialItem Text="Cut"></SpeedDialItem>
            <SpeedDialItem Text="Copy"></SpeedDialItem>
            <SpeedDialItem Text="Paste"></SpeedDialItem>
        </SpeedDialItems>
        <SpeedDialAnimationSettings Effect="SpeedDialAnimationEffect.Zoom" />
    </SfSpeedDial>

    Constructors

    SpeedDialAnimationSettings()

    Declaration
    public SpeedDialAnimationSettings()

    Properties

    Delay

    Gets or sets the delay, in milliseconds, before starting the Speed Dial popup animation.

    Declaration
    public int Delay { get; set; }
    Property Value
    Type Description
    System.Int32

    An int value specifying the delay, in milliseconds. The default value is 0.

    Remarks

    Use this property to introduce a delay before the popup animation begins, allowing for more precise timing scenarios.

    Examples
    <SfSpeedDial Content="Menu">
        <SpeedDialAnimationSettings Delay="150" />
    </SfSpeedDial>

    Duration

    Gets or sets the duration, in milliseconds, that the animation takes to open or close the Speed Dial popup.

    Declaration
    public int Duration { get; set; }
    Property Value
    Type Description
    System.Int32

    An int value representing the duration, in milliseconds. The default value is 400.

    Remarks

    This property determines how long the popup animation takes to complete when expanding or collapsing the SfSpeedDial items.

    Examples
    <SfSpeedDial Content="Options">
        <SpeedDialAnimationSettings Duration="600" />
    </SfSpeedDial>

    Effect

    Gets or sets the animation effect used for opening and closing the Speed Dial items popup.

    Declaration
    public SpeedDialAnimationEffect Effect { get; set; }
    Property Value
    Type Description
    SpeedDialAnimationEffect

    A SpeedDialAnimationEffect value that specifies the animation effect. The default value is Fade.

    Remarks

    The animation effect determines how Speed Dial popup items appear and disappear. Options include Fade, Zoom, and more.

    Examples
    <SfSpeedDial Content="Actions">
        <SpeedDialAnimationSettings Effect="SpeedDialAnimationEffect.Zoom" />
    </SfSpeedDial>

    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