Class FileExplorerContextMenuSettingsBuilder
Inheritance
System.Object
FileExplorerContextMenuSettingsBuilder
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
Assembly: Syncfusion.EJ.dll
Syntax
public class FileExplorerContextMenuSettingsBuilder
Constructors
FileExplorerContextMenuSettingsBuilder(FileExplorerContextMenuSettings)
The items property is used to configure and group the required ContextMenu items in FileExplorer control.
Declaration
public FileExplorerContextMenuSettingsBuilder(FileExplorerContextMenuSettings items)
Parameters
Type | Name | Description |
---|---|---|
FileExplorerContextMenuSettings | items |
Methods
CustomMenuFields(Action<FileExplorerCustomMenuFieldsAdder>)
Declaration
public FileExplorerContextMenuSettingsBuilder CustomMenuFields(Action<FileExplorerCustomMenuFieldsAdder> items)
Parameters
Type | Name | Description |
---|---|---|
System.Action<FileExplorerCustomMenuFieldsAdder> | items |
Returns
Type | Description |
---|---|
FileExplorerContextMenuSettingsBuilder |
CustomMenuFields(List<FileExplorerCustomMenuFields>)
The customMenuFields property is used to define custom functionality for custom ContextMenu item’s which are defined in items property.
Declaration
public FileExplorerContextMenuSettingsBuilder CustomMenuFields(List<FileExplorerCustomMenuFields> fields)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<FileExplorerCustomMenuFields> | fields |
Returns
Type | Description |
---|---|
FileExplorerContextMenuSettingsBuilder |
Items(Action<FileExplorerItemsBuilder>)
Declaration
public FileExplorerContextMenuSettingsBuilder Items(Action<FileExplorerItemsBuilder> items)
Parameters
Type | Name | Description |
---|---|---|
System.Action<FileExplorerItemsBuilder> | items |
Returns
Type | Description |
---|---|
FileExplorerContextMenuSettingsBuilder |