Reflection
ContextMenu Class Methods


For a list of all members of this type, see ContextMenu members.

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
See Also