Class MenuOpenEventArgs<TValue>
Represents the class for MenuOpen event arguments.
Inheritance
System.Object
MenuOpenEventArgs<TValue>
Namespace: Syncfusion.Blazor.FileManager
Assembly: Syncfusion.Blazor.dll
Syntax
public class MenuOpenEventArgs<TValue> : Object
Type Parameters
Name | Description |
---|---|
TValue | Specifies the TValue of the FileManager. |
Constructors
MenuOpenEventArgs()
Declaration
public MenuOpenEventArgs()
Properties
Cancel
'true' if the context menu opening on file or folder must be cancelled; Otherwise,'false'.
Declaration
public bool Cancel { get; set; }
Property Value
Type |
---|
System.Boolean |
Element
Gets the current context menu element.
Declaration
public ElementReference Element { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.ElementReference |
FileDetails
Gets or sets the target folder or file item as an array of JSON object.
Declaration
public List<TValue> FileDetails { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<TValue> |
IsSubMenu
Gets whether the current context menu is sub-menu or not.
Declaration
public bool IsSubMenu { get; set; }
Property Value
Type |
---|
System.Boolean |
Items
Gets the current context menu items as JSON object.
Declaration
public List<MenuItemModel> Items { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<MenuItemModel> |
MenuType
Gets the current context menu type based on current target.
Declaration
public string MenuType { get; set; }
Property Value
Type |
---|
System.String |