Class BeforeOpenCloseMenuEventArgs<T>
Provides the information about OnOpen/OnClose event.
Inheritance
Namespace: Syncfusion.Blazor.Navigations
Assembly: Syncfusion.Blazor.dll
Syntax
public class BeforeOpenCloseMenuEventArgs<T> : Object
Type Parameters
Name |
---|
T |
Constructors
BeforeOpenCloseMenuEventArgs()
Declaration
public BeforeOpenCloseMenuEventArgs()
Properties
Cancel
Gets or sets a value that indicates whether to allow or prevent the open/close action of menu bar.
Declaration
public bool Cancel { get; set; }
Property Value
Type |
---|
System.Boolean |
Element
Gets or sets a value that indicates the menu container element.
Declaration
public ElementReference Element { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.ElementReference |
Items
Gets or sets a value that indicates the current menu items.
Declaration
public List<T> Items { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<T> |
Left
Gets or sets a value that indicates the clientX position of the menu.
Declaration
public Nullable<double> Left { get; set; }
Property Value
Type |
---|
System.Nullable<System.Double> |
Name
Gets or sets a value that indicates the name of the event.
Declaration
public string Name { get; set; }
Property Value
Type |
---|
System.String |
ParentItem
Gets or sets a value that indicates the parent item.
Declaration
public T ParentItem { get; set; }
Property Value
Type |
---|
T |
ScrollHeight
Gets or sets a value that indicates 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 |
---|
System.Double |
TargetId
Gets the ID of the element on which the user right click their mouse button (or finger, on touch devices) to open the context menu.
Declaration
public string TargetId { get; set; }
Property Value
Type |
---|
System.String |
Top
Gets or sets a value that indicates the clientY position of the menu.
Declaration
public Nullable<double> Top { get; set; }
Property Value
Type |
---|
System.Nullable<System.Double> |