Class OpenCloseMenuEventArgs
Provides information for the Opened and Closed events.
Inheritance
OpenCloseMenuEventArgs
Inherited Members
Namespace: Syncfusion.Blazor.SplitButtons
Assembly: Syncfusion.Blazor.dll
Syntax
public class OpenCloseMenuEventArgs
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 |
|---|---|
| ElementReference | An 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 |
|---|---|
| List<DropDownMenuItem> | A List<T> 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 |
|---|---|
| string | A |
Remarks
This property helps identify which event was triggered.