Version

UltraMenuItem Class Members

The following tables list the members exposed by UltraMenuItem.

Public Constructors
 NameDescription
Public ConstructorUltraMenuItem ConstructorOverloaded.   
Public Properties
 NameDescription
Public PropertyAppearanceGets/sets the default appearance for the Button.  
Public PropertyBarBreakGets or sets a value indicating whether the System.Windows.Forms.MenuItem is placed on a new line (for a menu item added to a System.Windows.Forms.MainMenu object) or in a new column (for a submenu item or menu item displayed in a System.Windows.Forms.ContextMenu). (Inherited from System.Windows.Forms.MenuItem)
Public PropertyBreakGets or sets a value indicating whether the item is placed on a new line (for a menu item added to a System.Windows.Forms.MainMenu object) or in a new column (for a menu item or submenu item displayed in a System.Windows.Forms.ContextMenu). (Inherited from System.Windows.Forms.MenuItem)
Public PropertyCheckedGets or sets a value indicating whether a check mark appears next to the text of the menu item. (Inherited from System.Windows.Forms.MenuItem)
Public PropertyCheckedAppearanceGets/sets the appearance for the menu item when it is checked.  
Public PropertyContainer (Inherited from System.ComponentModel.Component)
Public PropertyDefaultItemGets or sets a value indicating whether the menu item is the default menu item. (Inherited from System.Windows.Forms.MenuItem)
Public PropertyEnabledGets or sets a value indicating whether the menu item is enabled. (Inherited from System.Windows.Forms.MenuItem)
Public PropertyHandleGets a value representing the window handle for the menu. (Inherited from System.Windows.Forms.Menu)
Public PropertyHasAppearanceIndicates whether an Infragistics.Win.AppearanceBase object has been created.  
Public PropertyHasCheckedAppearanceIndicates whether an Infragistics.Win.AppearanceBase object has been created.  
Public PropertyHasSelectedAppearanceIndicates whether an Infragistics.Win.AppearanceBase object has been created.  
Public PropertyIndexGets or sets a value indicating the position of the menu item in its parent menu. (Inherited from System.Windows.Forms.MenuItem)
Public PropertyIsParentGets a value indicating whether the menu item contains child menu items. (Inherited from System.Windows.Forms.MenuItem)
Public PropertyMdiListGets or sets a value indicating whether the menu item will be populated with a list of the Multiple Document Interface (MDI) child windows that are displayed within the associated form. (Inherited from System.Windows.Forms.MenuItem)
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 PropertyMenuItemsReturns the collection of menu items.  
Public PropertyMergeOrderGets or sets a value indicating the relative position of the menu item when it is merged with another. (Inherited from System.Windows.Forms.MenuItem)
Public PropertyMergeTypeGets or sets a value indicating the behavior of this menu item when its menu is merged with another. (Inherited from System.Windows.Forms.MenuItem)
Public PropertyMnemonicGets a value indicating the mnemonic character that is associated with this menu item. (Inherited from System.Windows.Forms.MenuItem)
Public PropertyNameGets or sets the name of the System.Windows.Forms.Menu. (Inherited from System.Windows.Forms.Menu)
Public PropertyOwnerDrawGets or sets a value indicating whether the code that you provide draws the menu item or Windows draws the menu item. (Inherited from System.Windows.Forms.MenuItem)
Public PropertyParentGets a value indicating the menu that contains this menu item. (Inherited from System.Windows.Forms.MenuItem)
Public PropertyRadioCheckGets or sets a value indicating whether the System.Windows.Forms.MenuItem, if checked, displays a radio-button instead of a check mark. (Inherited from System.Windows.Forms.MenuItem)
Public PropertySelectedAppearanceGets/sets the appearance for the menu item when it is selected.  
Public PropertyShortcutGets or sets a value indicating the shortcut key associated with the menu item. (Inherited from System.Windows.Forms.MenuItem)
Public PropertyShowShortcutGets or sets a value indicating whether the shortcut key that is associated with the menu item is displayed next to the menu item caption. (Inherited from System.Windows.Forms.MenuItem)
Public PropertySite (Inherited from System.ComponentModel.Component)
Public PropertyTagGets or sets user-defined data associated with the control. (Inherited from System.Windows.Forms.Menu)
Public PropertyTextGets or sets a value indicating the caption of the menu item. (Inherited from System.Windows.Forms.MenuItem)
Public PropertyVisibleGets or sets a value indicating whether the menu item is visible. (Inherited from System.Windows.Forms.MenuItem)
Protected Properties
 NameDescription
Protected PropertyAppearancesReturns the Appearances collection used for linked appearances  
Protected PropertyArrowAreaWidthReturns the width needed for the sub items arrow.  
Protected PropertyCanRaiseEvents (Inherited from System.ComponentModel.Component)
Protected PropertyDesignMode (Inherited from System.ComponentModel.Component)
Protected PropertyDrawMenuItemIndicates if the menu item will be rendered by the UltraMenuItem.  
Protected PropertyEvents (Inherited from System.ComponentModel.Component)
Protected PropertyIsRightToLeftIndicates if the menu is oriented from right to left.  
Protected PropertyIsSeparatorIndicates if the menu item is a separator  
Protected PropertyMenuIDGets a value indicating the Windows identifier for this menu item. (Inherited from System.Windows.Forms.MenuItem)
Protected PropertyPreTextSpaceReturns the amount of space before the text.  
Protected PropertyRequiresArrowAreaIndicates if the menu item will display an arrow indicating it contains sub items  
Protected PropertySeparatorSizeReturns the height required for the separator tool  
Protected PropertyShortcutStringReturns the string to render for the shortcut associated with the menu item  
Protected PropertyShowShortcutResolvedReturns a value indicating whether a shortcut should be displayed  
Protected PropertyStyleReturns the style of the menu item being rendered  
Protected PropertySubObjectPropChangeHandlerEvent handler for the SubObjectPropChange event of Infragistics.Shared.SubObjectBase derived objects  
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.  
Public Events
 NameDescription
Public EventClickOccurs when the menu item is clicked or selected using a shortcut key or access key defined for the menu item. (Inherited from System.Windows.Forms.MenuItem)
Public EventDisposed (Inherited from System.ComponentModel.Component)
Public EventDrawItemOccurs when the System.Windows.Forms.MenuItem.OwnerDraw property of a menu item is set to true and a request is made to draw the menu item. (Inherited from System.Windows.Forms.MenuItem)
Public EventMeasureItemOccurs when the menu needs to know the size of a menu item before drawing it. (Inherited from System.Windows.Forms.MenuItem)
Public EventPopupOccurs before a menu item's list of menu items is displayed. (Inherited from System.Windows.Forms.MenuItem)
Public EventSelectOccurs when the user places the pointer over a menu item. (Inherited from System.Windows.Forms.MenuItem)
See Also