Version

IGContextMenu Class Members

The following tables list the members exposed by IGContextMenu.

Public Constructors
 NameDescription
Public ConstructorIGContextMenu ConstructorOverloaded.   
Public Properties
 NameDescription
Public PropertyContainer (Inherited from System.ComponentModel.Component)
Public PropertyHandleGets a value representing the window handle for the menu. (Inherited from System.Windows.Forms.Menu)
Public PropertyHighlightDisableItemsGets/sets whether disabled items will be appear highlight when the mouse moves over them.  
Public PropertyHighlightDisableItemsResolvedReturns the resolved value indicating whether disabled items are highlighted as the mouse moves over them.  
Public PropertyImageListReturns or sets the imagelist used to obtain the images for the menu items.  
Public PropertyImageSizeGets/sets the size of the image  
Public PropertyIsParentGets a value indicating whether this menu contains any menu items. This property is read-only. (Inherited from System.Windows.Forms.Menu)
Public PropertyMdiListItemGets a value indicating the System.Windows.Forms.MenuItem that is used to display a list of multiple document interface (MDI) child forms. (Inherited from System.Windows.Forms.Menu)
Public PropertyMenuItemsGets a value indicating the collection of System.Windows.Forms.MenuItem objects associated with the menu. (Inherited from System.Windows.Forms.Menu)
Public PropertyNameGets or sets the name of the System.Windows.Forms.Menu. (Inherited from System.Windows.Forms.Menu)
Public PropertyRightToLeftGets or sets a value indicating whether text displayed by the control is displayed from right to left. (Inherited from System.Windows.Forms.ContextMenu)
Public PropertyShowShortcutsGets/sets whether shortcuts are displayed in the context menu.  
Public PropertySite (Inherited from System.ComponentModel.Component)
Public PropertySourceControlGets the control that is displaying the shortcut menu. (Inherited from System.Windows.Forms.ContextMenu)
Public PropertyStyleReturns or sets the style of the menu.  
Public PropertyStyleResolvedReturns the resolved menu style used to render the context menu.  
Public PropertyTagGets or sets user-defined data associated with the control. (Inherited from System.Windows.Forms.Menu)
Public PropertyTouchMetricsEnabledGets/sets whether touch metrics are enabled.  
Public PropertyZoomFactorThe zooom factor of the owner control, if it supports zooming.  
Protected Properties
Public Methods
 NameDescription
Public MethodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
Public MethodDisposeOverloaded. Overridden. Invoked when the context menu is being disposed.  
Public MethodFindMenuItemGets the System.Windows.Forms.MenuItem that contains the value specified. (Inherited from System.Windows.Forms.Menu)
Public MethodGetContextMenuGets the System.Windows.Forms.ContextMenu that contains this menu. (Inherited from System.Windows.Forms.Menu)
Public MethodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodGetMainMenuGets the System.Windows.Forms.MainMenu that contains this menu. (Inherited from System.Windows.Forms.Menu)
Public MethodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodMergeMenuMerges the System.Windows.Forms.MenuItem objects of one menu with the current menu. (Inherited from System.Windows.Forms.Menu)
Public MethodResetImageSizeResets the value of the ImageSize property to its default value  
Public MethodShowOverloaded. Displays the shortcut menu at the specified position. (Inherited from System.Windows.Forms.ContextMenu)
Public MethodToStringReturns a System.String that represents the System.Windows.Forms.Menu control. (Inherited from System.Windows.Forms.Menu)
Protected Methods
 NameDescription
Protected MethodCreateMenuHandleCreates a new handle to the System.Windows.Forms.Menu. (Inherited from System.Windows.Forms.Menu)
Protected MethodFinalize (Inherited from System.ComponentModel.Component)
Protected MethodFindMergePositionReturns the position at which a menu item should be inserted into the menu. (Inherited from System.Windows.Forms.Menu)
Protected MethodGetService (Inherited from System.ComponentModel.Component)
Protected MethodMemberwiseCloneOverloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject)
Protected MethodOnPopupOverridden. Invoked before the context menu is going to be displayed  
Protected MethodOnResolveOwnerStyledMenuAppearanceUsed to invoke the ResolveOwnerStyledMenuAppearance event.  
Protected MethodOnResolveOwnerStyledMenuItemAppearanceUsed to invoke the ResolveOwnerStyledMenuItemAppearance event.  
Protected MethodShouldSerializeImageSizeIndicates if the ImageSize property needs to be serialized  
Public Events
 NameDescription
Public EventCollapseOccurs when the shortcut menu collapses. (Inherited from System.Windows.Forms.ContextMenu)
Public EventDisposed (Inherited from System.ComponentModel.Component)
Public EventPopupOccurs before the shortcut menu is displayed. (Inherited from System.Windows.Forms.ContextMenu)
Public EventResolveOwnerStyledMenuAppearanceFired before the menu is drawn.  
Public EventResolveOwnerStyledMenuItemAppearanceFired before the menu item is drawn.  
See Also