Class MenuOpenEventArgs<TValue>
Represents the class for MenuOpen event arguments.
Inherited Members
Namespace: Syncfusion.Blazor.FileManager
Assembly: Syncfusion.Blazor.dll
Syntax
public class MenuOpenEventArgs<TValue>
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 |
|---|
| bool |
Element
Gets the current context menu element.
Declaration
public ElementReference Element { get; set; }
Property Value
| Type |
|---|
| 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 |
|---|
| List<TValue> |
IsSubMenu
Gets whether the current context menu is sub-menu or not.
Declaration
public bool IsSubMenu { get; set; }
Property Value
| Type |
|---|
| bool |
Items
Gets the current context menu items as JSON object.
Declaration
public List<MenuItemModel> Items { get; set; }
Property Value
| Type |
|---|
| List<MenuItemModel> |
MenuType
Gets the current context menu type based on current target.
Declaration
public string MenuType { get; set; }
Property Value
| Type |
|---|
| string |