Version

UltraMenuItem Class Methods

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

Public Methods
 NameDescription
Public MethodCloneMenuOverloaded. Overridden. Invoked when the menu object must be cloned.  
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. Disposes of the resources (other than memory) used by the System.Windows.Forms.MenuItem.  
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 MethodMergeMenuOverloaded. Merges this System.Windows.Forms.MenuItem with another System.Windows.Forms.MenuItem and returns the resulting merged System.Windows.Forms.MenuItem. (Inherited from System.Windows.Forms.MenuItem)
Public MethodPerformClickGenerates a System.Windows.Forms.Control.Click event for the System.Windows.Forms.MenuItem, simulating a click by a user. (Inherited from System.Windows.Forms.MenuItem)
Public MethodPerformSelectRaises the System.Windows.Forms.MenuItem.Select event for this menu item. (Inherited from System.Windows.Forms.MenuItem)
Public MethodResetAppearanceResets the Appearance property to its default value.  
Public MethodResetCheckedAppearanceResets the CheckedAppearance property to its default value.  
Public MethodResetSelectedAppearanceResets the SelectedAppearance property to its default value.  
Public MethodResolveAppearanceResolves the appearance for the menu item  
Public MethodToStringReturns a string that represents the System.Windows.Forms.MenuItem. (Inherited from System.Windows.Forms.MenuItem)
Protected Methods
 NameDescription
Protected MethodCreateMenuHandleCreates a new handle to the System.Windows.Forms.Menu. (Inherited from System.Windows.Forms.Menu)
Protected MethodDirtyMenuItemSizeInvoked when a property change that requires the menu item size to be recalculated  
Protected MethodDrawMenuGlyphDraws the specified menu glyph at the specified coordinates  
Protected MethodDrawXPItemRenders the menu item using the Office XP color scheme  
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 MethodGetImageAreaSizeReturn the size of the area that contains the menu image  
Protected MethodGetImageSizeReturns the size of the images displayed  
Protected MethodGetService (Inherited from System.ComponentModel.Component)
Protected MethodGetStringFormatReturns the System.Drawing.StringFormat object used to render the string  
Protected MethodGetUltraContextMenuReturns the containing UltraContextMenuManager  
Protected MethodGetXPItemSizeReturns the size of an item using the Office XP layout formatting  
Protected MethodIsBottomItemIndicates if the specified index is the end of a group of menu items.  
Protected MethodMemberwiseCloneOverloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject)
Protected MethodNotifyPropChangeInvoked when a property changes on the context menu.  
Protected MethodOnClickRaises the System.Windows.Forms.MenuItem.Click event. (Inherited from System.Windows.Forms.MenuItem)
Protected MethodOnDrawItemOverridden. Invoked when the owner drawn menu is to be rendered.  
Protected MethodOnInitMenuPopupRaises the System.Windows.Forms.MenuItem.Popup event. (Inherited from System.Windows.Forms.MenuItem)
Protected MethodOnMeasureItemOverridden. Invoked when the size of the menu item should be returned for an owner drawn menu.  
Protected MethodOnPopupRaises the System.Windows.Forms.MenuItem.Popup event. (Inherited from System.Windows.Forms.MenuItem)
Protected MethodOnSelectRaises the System.Windows.Forms.MenuItem.Select event. (Inherited from System.Windows.Forms.MenuItem)
Protected MethodOnSubObjectPropChangeInvoked when a property on a subobject has changed.  
See Also