Class MenuEventArgs
Provides information about the in OnItemRender
and Select
event callback.
Inheritance
System.Object
MenuEventArgs
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 |
|
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. |