menu

Blazor

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

    Show / Hide Table of Contents

    Class OpenCloseMenuEventArgs

    Provides information for the Opened and Closed events.

    Inheritance
    System.Object
    OpenCloseMenuEventArgs
    DropDownPopupClosedEventArgs
    DropDownPopupOpenedEventArgs
    SplitButtonPopupClosedEventArgs
    SplitButtonPopupOpenedEventArgs
    Namespace: Syncfusion.Blazor.SplitButtons
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class OpenCloseMenuEventArgs : Object
    Remarks

    This class contains event arguments for handling actions after a dropdown menu has opened or closed.

    Constructors

    OpenCloseMenuEventArgs()

    Declaration
    public OpenCloseMenuEventArgs()

    Properties

    Element

    Gets a reference to the dropdown popup element.

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

    An Microsoft.AspNetCore.Components.ElementReference representing the dropdown popup element.

    Remarks

    This property provides direct access to the HTML element of the dropdown popup.

    Items

    Gets the list of items in the dropdown menu.

    Declaration
    public List<DropDownMenuItem> Items { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<DropDownMenuItem>

    A System.Collections.Generic.List<> of DropDownMenuItem objects.

    Remarks

    This property contains the data models for the items displayed in the dropdown.

    Name

    Gets the name of the event.

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

    A string that represents the name of the event, which is either Opened or Closed.

    Remarks

    This property helps identify which event was triggered.

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