menu

Blazor

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

    Show / Hide Table of Contents

    Class MenuEventArgs

    Provides information about the in OnItemRender and Select event callback.

    Inheritance
    System.Object
    MenuEventArgs
    DropDownItemRenderEventArgs
    DropDownItemSelectEventArgs
    SplitButtonItemRenderEventArgs
    SplitButtonItemSelectedEventArgs
    Namespace: Syncfusion.Blazor.SplitButtons
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class MenuEventArgs : Object

    Constructors

    MenuEventArgs()

    Declaration
    public MenuEventArgs()

    Properties

    Cancel

    Gets or sets whether the dropdown button selection needs to be prevented or not.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    System.Boolean

    true, if the dropdown button selection is prevented. Otherwise, false.

    Element

    Gets or sets a value that indicates the selected list element.

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

    An ElementReference object that represents the selected list element.

    Event

    Gets or sets a value that indicates the selected dropdown item.

    Declaration
    public EventArgs Event { get; set; }
    Property Value
    Type Description
    System.EventArgs

    An System.EventArgs that contains the event data for the selected dropdown item.

    Item

    Gets or sets a value that indicates the selected dropdown item.

    Declaration
    public DropDownMenuItem Item { get; set; }
    Property Value
    Type Description
    DropDownMenuItem

    A DropDownMenuItem that represents the selected dropdown item.

    Name

    Gets or sets a value that indicates the name of the event.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    Accepts the string value.

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