Class SpeedDialOpenCloseEventArgs
Provides information about the Opened and Closed event callbacks after the popup has been fully opened or closed.
Inheritance
System.Object
SpeedDialOpenCloseEventArgs
Namespace: Syncfusion.Blazor.Buttons
Assembly: Syncfusion.Blazor.dll
Syntax
public class SpeedDialOpenCloseEventArgs : Object
Remarks
This event argument is used in post-open and post-close scenarios for the SfSpeedDial component, typically for notification or logging after visual state transitions.
Examples
Example usage of the Opened event:
<SfSpeedDial Opened="OnSpeedDialOpened" Closed="OnSpeedDialClosed">
</SfSpeedDial>
@code {
private void OnSpeedDialOpened(SpeedDialOpenCloseEventArgs args)
{
// args.Element can be used for further DOM queries
}
private void OnSpeedDialClosed(SpeedDialOpenCloseEventArgs args)
{
// perform finalization
}
}
Constructors
SpeedDialOpenCloseEventArgs()
Declaration
public SpeedDialOpenCloseEventArgs()
Properties
Element
Gets the reference to the popup element of the SfSpeedDial that was opened or closed.
Declaration
public ElementReference Element { get; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.ElementReference | An Microsoft.AspNetCore.Components.ElementReference for the popup element of the speed dial. |
Remarks
This property allows advanced DOM access to the popup after it has transitioned between open and closed states.