Class OpenCloseMenuEventArgs
Provides information for the Opened
and Closed
events.
Inheritance
System.Object
OpenCloseMenuEventArgs
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 |
Remarks
This property helps identify which event was triggered.