IContextMenuItemCollection Methods
A collection of root-level or nested context menu items in the Grid, Rich Text Editor, or TreeList component.| Name | Description |
|---|---|
| Add(Int32, String) | Adds a predefined item to the specified position in the item collection. |
| Add(String) | Adds a predefined item to the end of the item collection. |
| AddCustomItem(Int32, String, Action, Boolean) | Adds a custom menu item at the specified postition in the item collection. |
| AddCustomItem(Int32, String, Action) | Adds a custom menu item at the specified position in the item collection. |
| AddCustomItem(Int32, String, Func<Task>, Boolean) | Adds a custom menu item at the specified position in the item collection. |
| AddCustomItem(Int32, String, Func<Task>) | Adds a custom menu item to the specified position in the item collection. |
| AddCustomItem(Int32, String) | Adds a custom menu item at the specified postition in the item collection. |
| AddCustomItem(String, Action, Boolean) | Adds a custom menu item to the end of the item collection. |
| AddCustomItem(String, Action) | Adds a custom menu item to the end of the item collection. |
| AddCustomItem(String, Func<Task>, Boolean) | Adds a custom menu item to the end of the item collection. |
| AddCustomItem(String, Func<Task>) | Adds a custom menu item to the end of the item collection. |
| AddCustomItem(String) | Adds a custom menu item to the end of the item collection. |
| Clear() | Removes all items from an item collection. |
| Contains(IContextMenuItem) | Returns whether the item collection contains the specified item. |
| Contains(String) | Returns whether the item collection contains an item with the specified name. |
| Flatten() | Converts the item collection into a flattened collection that contains all root-level and nested items of the context menu. |
| GetEnumerator() | Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>. |
| IndexOf(IContextMenuItem) | Returns the specified item’s position within the item collection. |
| IndexOf(String) | Returns the position of the item with the specified name within the item collection. |
| Remove(IContextMenuItem) | Removes the specified item from the item collection. |
| Remove(Int32) | Removes an item with the specified index from an item collection. |
| Remove(String) | Removes the item with a specified name from an item collection. |
See Also