ContextMenu Object Members
In This Topic
The following tables list the members exposed by ContextMenu.
Public Fields
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 or sets 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. |
| Equals | Determines whether the specified Object is equal to the current Object. |
| GetContextMenuItem | Returns a context menu item with the specified name. |
| GetHashCode | Serves as a hash function for a particular type. |
| RemoveItem | Removes a specified context menu item at a given position within the menu |
Top
See Also