IContextMenu Interface Members
In This Topic
The following tables list the members exposed by IContextMenu.
Public Properties
| Name | Description |
 | Count | Gets a value indicating how many menu items (including separators) are in this menu. |
 | MappingCollection | Gets a value indicating the set of menu items comprising this context menu. |
 | Name | Gets a value indicating the descriptive name of this menu. |
Top
Public Methods
| Name | Description |
 | AddMenuItem | Adds a new context menu item to the end of the menu. |
 | AddSeparator | Adds a new separator to the end of the menu. |
 | ClearAllItems | Removes all items from the context menu, resulting in an empty menu. |
 | GetContextMenuItem | Returns a context menu item with the specified name. |
 | RemoveItem | Removes a specified context menu item at a given position within the menu |
Top
See Also