menu

Blazor

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

    Show / Hide Table of Contents

    Class SpeedDialItemEventArgs

    Provides information about the ItemRendered and ItemClicked event callbacks, detailing the specific item and its DOM element.

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

    This class is supplied with item-level event handlers in the SfSpeedDial component and can be used to determine which item was interacted with and access its DOM element.

    Examples

    Example of using ItemClicked to access the clicked item's element and properties:

    <SfSpeedDial ItemClicked="OnSpeedDialItemClicked">
    </SfSpeedDial>
    
    @code {
        private void OnSpeedDialItemClicked(SpeedDialItemEventArgs args)
        {
            var itemText = args.Item.Text;
            // Use args.Element for JavaScript interop or DOM access
        }
    }

    Constructors

    SpeedDialItemEventArgs()

    Declaration
    public SpeedDialItemEventArgs()

    Properties

    Element

    Gets the reference to the selected speed dial item's DOM element.

    Declaration
    public ElementReference Element { get; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.ElementReference

    An Microsoft.AspNetCore.Components.ElementReference providing access to the corresponding DOM element of the speed dial item.

    Remarks

    This is useful for manipulating the item's DOM or for integration with other UI libraries or Direct DOM operations via JSInterop.

    Item

    Gets the currently selected speed dial item's data.

    Declaration
    public SpeedDialItem Item { get; }
    Property Value
    Type Description
    SpeedDialItem

    The SpeedDialItem object representing the currently selected speed dial item.

    Remarks

    Use this property to access metadata such as text, icon, and custom fields about the selected speed dial item.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved