Class CustomContextMenuBuilder
Represents a class for CustomContextMenuBuilder which includes template, text, and target properties for context menu.
Inheritance
System.Object
CustomContextMenuBuilder
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 CustomContextMenuBuilder
Constructors
CustomContextMenuBuilder(CustomMenuItem)
Initializes a new instance of the CustomContextMenuBuilder class.
Declaration
public CustomContextMenuBuilder(CustomMenuItem menuItem)
Parameters
Type | Name | Description |
---|---|---|
CustomMenuItem | menuItem | It displays the CustomMenuItem |
CustomContextMenuBuilder(KanbanContextMenuSettings)
Initializes a new instance of the CustomContextMenuBuilder class.
Declaration
public CustomContextMenuBuilder(KanbanContextMenuSettings contextMenuSettings)
Parameters
Type | Name | Description |
---|---|---|
KanbanContextMenuSettings | contextMenuSettings | It displays the KanbanContextMenuSettings |
Methods
Add()
It adds the current custom context menu.
Declaration
public void Add()
Target(ContextTarget)
It gets and sets target for specific custom menu item.
Declaration
public CustomContextMenuBuilder Target(ContextTarget target)
Parameters
Type | Name | Description |
---|---|---|
ContextTarget | target | It accepts the string value as template |
Returns
Type | Description |
---|---|
CustomContextMenuBuilder | CustomContextMenuBuilder |
Template(String)
It gets and sets template for specific custom menu item..
Declaration
public CustomContextMenuBuilder Template(string template)
Parameters
Type | Name | Description |
---|---|---|
System.String | template | It accepts the string value as template |
Returns
Type | Description |
---|---|
CustomContextMenuBuilder | CustomContextMenuBuilder |
Text(String)
It gets and sets custom context menu items text.
Declaration
public CustomContextMenuBuilder Text(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | It accepts the string value as text |
Returns
Type | Description |
---|---|
CustomContextMenuBuilder | CustomContextMenuBuilder |