Class FileExplorerCustomMenuFields
The customMenuFields property is used to define custom functionality for custom ContextMenu item’s which are defined in items property.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class FileExplorerCustomMenuFields : EJTagHelper
Constructors
FileExplorerCustomMenuFields()
Declaration
public FileExplorerCustomMenuFields()
Properties
Action
Defines action function that need to happen while clicking on the item
Declaration
[JsonProperty("action")]
public string Action { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Child
Specifies the sub menu items of the current item
Declaration
[JsonProperty("child")]
public List<FileExplorerCustomMenuFields> Child { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<FileExplorerCustomMenuFields> |
HtmlAttributes
Sets the html attributes for the item
Declaration
[JsonProperty("htmlAttributes")]
public IDictionary<string, object> HtmlAttributes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> |
Id
sets the id of newly adding context menu item
Declaration
[JsonProperty("id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SpriteCssClass
Sets the CSS class for the item
Declaration
[JsonProperty("spriteCssClass")]
public string SpriteCssClass { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Text
sets the text that need to be displayed on context menu item
Declaration
[JsonProperty("text")]
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |