Skip to main content

GanttContextMenuItemBuilder Methods

The context menu item.
Name Description
BeginGroup(JS) Specifies whether a group separator is displayed over the item. Mirrors the client-side beginGroup option.
BeginGroup(Boolean) Specifies whether a group separator is displayed over the item. Mirrors the client-side beginGroup option.
CloseMenuOnClick(JS) Specifies if a menu is closed when a user clicks the item. Mirrors the client-side closeMenuOnClick option.
CloseMenuOnClick(Boolean) Specifies if a menu is closed when a user clicks the item. Mirrors the client-side closeMenuOnClick option.
Disabled(JS) Specifies whether the menu item responds to user interaction. Mirrors the client-side disabled option.
Disabled(Boolean) Specifies whether the menu item responds to user interaction. Mirrors the client-side disabled option.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
Icon(JS) Specifies the menu item's icon. Mirrors the client-side icon option.
Icon(String) Specifies the menu item's icon. Mirrors the client-side icon option.
Items(Action<CollectionFactory<ContextMenuItemBuilder>>) Mirrors the client-side items option.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Name(GanttContextMenuItem) Specifies the context menu item name. Mirrors the client-side name option.
Name(JS) Specifies the context menu item name. Mirrors the client-side name option.
Name(String) Specifies the context menu item name. Mirrors the client-side name option.
Option(String, Object) Specifies an option by its name.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Selectable(JS) Specifies whether or not a user can select a menu item. Mirrors the client-side selectable option.
Selectable(Boolean) Specifies whether or not a user can select a menu item. Mirrors the client-side selectable option.
Selected(JS) Specifies whether or not the item is selected. Mirrors the client-side selected option.
Selected(Boolean) Specifies whether or not the item is selected. Mirrors the client-side selected option.
Template(JS) Mirrors the client-side template option.
Template(RazorBlock) Mirrors the client-side template option.
Template(TemplateName) Mirrors the client-side template option.
Template(String) Mirrors the client-side template option.
Text(JS) Specifies the text inserted into the item element. Mirrors the client-side text option.
Text(String) Specifies the text inserted into the item element. Mirrors the client-side text option.
ToString() Returns a string that represents the current object. Inherited from Object.
Visible(JS) Specifies whether or not the menu item is visible. Mirrors the client-side visible option.
Visible(Boolean) Specifies whether or not the menu item is visible. Mirrors the client-side visible option.
See Also