Reflection
ContextMenu Class Members
Fields  Properties  Methods 


The following tables list the members exposed by ContextMenu.

Public Constructors
 NameDescription
Public ConstructorContextMenu ConstructorOverloaded.   
Top
Public Fields
 NameDescription
Public FieldDefaultMenuNameThe name of the default context menu  
Top
Public Properties
 NameDescription
Public PropertyCountGets a value indicating how many menu items (including separators) are in this menu.  
Public PropertyMappingCollectionGets a value indicating the set of menu items comprising this context menu.  
Public PropertyNameGets a value indicating the descriptive name of this menu.  
Top
Public Methods
 NameDescription
Public MethodAddMenuItemAdds a new context menu item to the end of the menu.  
Public MethodAddSeparatorAdds a new separator to the end of the menu.  
Public MethodClearAllItemsRemoves all items from the context menu, resulting in an empty menu.  
Public MethodEqualsDetermines whether two ContextMenu instances are equal.  
Public MethodGetContextMenuItemReturns a context menu item with the specified name.  
Public MethodGetHashCodeServes as a hash function for a particular type.  
Public MethodGetSchemaReturns an in-memory representation of the XML schema used for SerializableList  
Public MethodGetTypeGets the System.Type of the current instance. (Inherited from object)
Public MethodReadXmlReads in a list type from an xml file  
Public MethodRemoveItemRemoves a specified context menu item at a given position within the menu  
Public MethodToStringReturns a string that represents the current object. (Inherited from object)
Public MethodWriteXmlWrites out a list to xml format  
Top
Protected Methods
 NameDescription
Protected MethodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from object)
Protected MethodMemberwiseCloneCreates a shallow copy of the current System.Object. (Inherited from object)
Top
Public Operators
public Operator Equality Determines whether the specified object is equal to the current object.
public Operator Inequality Determines whether the specified object is not equal to the current object.
Top
See Also