Class SpeedDialAnimationSettings
Provides options to customize the animation applied while opening and closing the popup of SfSpeedDial.
Inheritance
System.Object
SpeedDialAnimationSettings
Namespace: Syncfusion.Blazor.Buttons
Assembly: Syncfusion.Blazor.dll
Syntax
public class SpeedDialAnimationSettings : OwningComponentBase
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 value that indicates the delay before starting the animation.
Declaration
public int Delay { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Accepts an integer value. The default value is |
Duration
Gets or sets the duration in milliseconds that the animation takes to open or close the popup.
Declaration
public int Duration { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Accepts an integer value. The default value is |
Effect
Gets or sets the value that indicates the type of animation effect used for opening and closing of the Speed Dial items.
Declaration
public SpeedDialAnimationEffect Effect { get; set; }
Property Value
Type | Description |
---|---|
SpeedDialAnimationEffect | One of the SpeedDialAnimationEffect enumeration that specifies the animation effect. The default value is Fade |
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 |