IContextMenuItemCollection Methods
A collection of root-level or nested items of the context menu in the Rich Text Editor.
Name | Description |
---|---|
Add |
Adds a predefined item to the specified position in the item collection. |
Add |
Adds a predefined item to the end of the item collection. |
Add |
Adds a custom menu item at the specified position in the item collection. |
Add |
Adds a custom menu item to the specified position in the item collection. |
Add |
Adds a custom menu item at the specified postition in the item collection. |
Add |
Adds a custom menu item to the end of the item collection. |
Add |
Adds a custom menu item to the end of the item collection. |
Add |
Adds a custom menu item to the end of the item collection. |
Clear() | Removes all items from an item collection. |
Flatten() | Converts the item collection into a flattened collection that contains all root-level and nested items of the context menu. |
Get |
Returns an enumerator that iterates through the collection.
Inherited from IEnumerable |
Index |
Returns the specified item’s position within the item collection. |
Remove |
Removes an item with the specified index from an item collection. |
Remove |
Removes an item with the specified name from an item collection. |
See Also