Class BeforeOpenCloseMenuEventArgs<T>
Interface for OnOpen/OnClose event.
Inheritance
System.Object
BeforeOpenCloseMenuEventArgs<T>
Namespace: Syncfusion.Blazor.Navigations
Assembly: Syncfusion.Blazor.dll
Syntax
public class BeforeOpenCloseMenuEventArgs<T> : Object
Type Parameters
Name | Description |
---|---|
T |
Constructors
BeforeOpenCloseMenuEventArgs()
Declaration
public BeforeOpenCloseMenuEventArgs()
Properties
Cancel
Set true to prevent menu from opening.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Element
Specifies the menu container element.
Declaration
public ElementReference Element { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.ElementReference |
Event
Specifies the event.
Declaration
public object Event { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Items
Specifies the current menu items.
Declaration
public List<T> Items { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<T> |
Left
Specifies the clientX position of the menu.
Declaration
public Nullable<double> Left { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
Name
Specifies name of the event.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ParentItem
Specifies the parent item.
Declaration
public T ParentItem { get; set; }
Property Value
Type | Description |
---|---|
T |
ScrollHeight
Specifies the menu container height to show the scrollable menu. It is applicable only when the EnableScrolling property is enabled.
Declaration
public double ScrollHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Top
Specifies the clientY position of the menu.
Declaration
public Nullable<double> Top { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |