ContextMenu Methods
Collapse the table of content
Expand the table of content

ContextMenu Methods

 

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

NameDescription
System_CAPS_protmethodCloneMenu(Menu)

Copies the Menu that is passed as a parameter to the current Menu.(Inherited from Menu.)

System_CAPS_protmethodCreateMenuHandle()

Creates a new handle to the Menu.(Inherited from Menu.)

System_CAPS_pubmethodCreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDispose()

Releases all resources used by the Component.(Inherited from Component.)

System_CAPS_protmethodDispose(Boolean)

Disposes of the resources, other than memory, used by the Menu.(Inherited from Menu.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.(Inherited from Component.)

System_CAPS_pubmethodFindMenuItem(Int32, IntPtr)

Gets the MenuItem that contains the value specified. (Inherited from Menu.)

System_CAPS_protmethodFindMergePosition(Int32)

Returns the position at which a menu item should be inserted into the menu.(Inherited from Menu.)

System_CAPS_pubmethodGetContextMenu()

Gets the ContextMenu that contains this menu.(Inherited from Menu.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetMainMenu()

Gets the MainMenu that contains this menu.(Inherited from Menu.)

System_CAPS_protmethodGetService(Type)

Returns an object that represents a service provided by the Component or by its Container.(Inherited from Component.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodMergeMenu(Menu)

Merges the MenuItem objects of one menu with the current menu.(Inherited from Menu.)

System_CAPS_protmethodOnCollapse(EventArgs)

This API supports the product infrastructure and is not intended to be used directly from your code. Raises the Collapse event.

System_CAPS_protmethodOnPopup(EventArgs)

This API supports the product infrastructure and is not intended to be used directly from your code. Raises the Popup event

System_CAPS_protmethodProcessCmdKey(Message, Keys)

Processes a command key.(Inherited from Menu.)

System_CAPS_protmethodProcessCmdKey(Message, Keys, Control)

Processes a command key.

System_CAPS_pubmethodShow(Control, Point)

Displays the shortcut menu at the specified position.

System_CAPS_pubmethodShow(Control, Point, LeftRightAlignment)

Displays the shortcut menu at the specified position and with the specified alignment.

System_CAPS_pubmethodToString()

Returns a String that represents the Menu control.(Inherited from Menu.)

Return to top
Show:
© 2016 Microsoft