Class BeforeOpenCloseMenuEventArgs
Provides information about the in OnOpen
and OnClose
event callback.
Inheritance
System.Object
BeforeOpenCloseMenuEventArgs
Namespace: Syncfusion.Blazor.SplitButtons
Assembly: Syncfusion.Blazor.dll
Syntax
public class BeforeOpenCloseMenuEventArgs : Object
Constructors
BeforeOpenCloseMenuEventArgs()
Declaration
public BeforeOpenCloseMenuEventArgs()
Properties
Cancel
Gets or sets whether the dropdown menu open/close needs to be prevented or not.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Element
Specifies the button or dropdown element.
Declaration
public ElementReference Element { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.ElementReference | An Microsoft.AspNetCore.Components.ElementReference object that represents the button or dropdown element. |
Event
Gets or sets whether the color picker popup open needs to be prevented or not.
Declaration
public EventArgs Event { get; set; }
Property Value
Type | Description |
---|---|
System.EventArgs | An System.EventArgs object that contains event data for the color picker. |
Items
Gets or sets a value that indicates the list of dropdown menu items..
Declaration
public List<DropDownMenuItem> Items { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<DropDownMenuItem> |
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. |