ContextMenu Methods
.NET Framework 3.5
The ContextMenu type exposes the following members.
| Name | Description | |
|---|---|---|
|
CloneMenu | Copies the Menu that is passed as a parameter to the current Menu. (Inherited from Menu.) |
|
CreateMenuHandle | Creates a new handle to the Menu. (Inherited from Menu.) |
|
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
|
Dispose | Overloaded. Releases the resources used by the Component. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.) |
|
FindMenuItem | Gets the MenuItem that contains the value specified. (Inherited from Menu.) |
|
FindMergePosition | Returns the position at which a menu item should be inserted into the menu. (Inherited from Menu.) |
|
GetContextMenu | Gets the ContextMenu that contains this menu. (Inherited from Menu.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
|
GetMainMenu | Gets the MainMenu that contains this menu. (Inherited from Menu.) |
|
GetService | Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
|
MemberwiseClone | Overloaded. |
|
MergeMenu | Merges the MenuItem objects of one menu with the current menu. (Inherited from Menu.) |
|
OnCollapse | Infrastructure. Raises the Collapse event. |
|
OnPopup | Infrastructure. Raises the Popup event |
|
ProcessCmdKey | Overloaded. Processes a command key. |
|
Show | Overloaded. Displays the shortcut menu at the specified position. |
|
ToString |
Returns a String that represents the Menu control. (Inherited from Menu.) In .NET Compact Framework 3.5, this member is inherited from Object.ToString(). |