Class CustomContextItemBuilder<T>
Inheritance
System.Object
CustomContextItemBuilder<T>
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 CustomContextItemBuilder<T>
where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
CustomContextItemBuilder(ContextSettings)
Initializes a new instance of the CustomContextItemBuilder<T> class.
Declaration
public CustomContextItemBuilder(ContextSettings contextMenu)
Parameters
Type | Name | Description |
---|---|---|
ContextSettings | contextMenu | It accepts the list of ContextMenuSettings |
CustomContextItemBuilder(CustomContexMenuItems)
It sets a value that indicates whether to add custom contextMenu items within the toolbar to perform any action in the grid
Declaration
public CustomContextItemBuilder(CustomContexMenuItems customitems)
Parameters
Type | Name | Description |
---|---|---|
CustomContexMenuItems | customitems | It accepts the list of customContexMenuitems |
CustomContextItemBuilder(CustomContextMenuItems)
It sets a value that indicates whether to add custom contextMenu items within the toolbar to perform any action in the grid
Declaration
public CustomContextItemBuilder(CustomContextMenuItems customitems)
Parameters
Type | Name | Description |
---|---|---|
CustomContextMenuItems | customitems | It accepts the list of customContextMenuitems |
Methods
AddItem(String, String)
It adds the default ContextmenuItems into the contextMenuSettings.
Declaration
public void AddItem(string id, string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | It accepts the string value as id |
System.String | text | It accepts the string value as text |