Back to Devexpress

DXSubMenuItem Members

windowsforms-devexpress-dot-utils-dot-menu-dot-dxsubmenuitem-dot-underscore-members.md

latest15.8 KB
Original Source

DXSubMenuItem Members

Specifies a submenu.

Constructors

NameDescription
DXSubMenuItem()Initializes a new instance of the DXSubMenuItem class with default settings.
DXSubMenuItem(String, EventHandler)Initializes a new instance of the DXSubMenuItem class with the specified caption and the handler for the DXSubMenuItem.BeforePopup event.
DXSubMenuItem(String)Initializes a new instance of the DXSubMenuItem class with the specified caption.

Properties

NameDescription
AllowGlyphSkinningGets or sets whether the current DXMenuItem icon should be painted in the DXMenuItem‘s foreground color. Inherited from DXMenuItem.
AllowHtmlTextGets or sets whether HTML tags are used to format the menu item’s caption. Inherited from DXMenuItem.
AppearanceProvides access to the appearance settings used to paint the DXMenuItem in the normal state. Inherited from DXMenuItem.
AppearanceDisabledProvides access to the appearance settings used to paint the DXMenuItem in the disbled state. Inherited from DXMenuItem.
AppearanceHoveredProvides access to the appearance settings used to paint the DXMenuItem in the hovered state. Inherited from DXMenuItem.
BeginGroupGets or sets whether the current menu item starts a group. Inherited from DXMenuItem.
CaptionSpecifies the text displayed within the menu item. Inherited from DXMenuItem.
CloseMenuOnClickThis member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from DXMenuItem.
CloseOwnerMenuOnlyOnClickThis member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from DXMenuItem.
CollectionGets the menu item collection which owns the current menu item. Inherited from DXMenuItem.
CommandGets or sets the ICommand whose Execute(Object) method will be called when the Click event is invoked. Inherited from DXMenuItem.
CommandParameterGets or sets the parameter that is passed to the command specified by the Command property. Inherited from DXMenuItem.
EnabledGets or sets whether the menu item is enabled. Inherited from DXMenuItem.
HasImageReturns whether or not this DXMenuItem has an image assigned. Inherited from DXMenuItem.
ImageThis property is obsolete. Use the DXMenuItem.ImageOptions.Image property to display an image in the menu item. Inherited from DXMenuItem.
ImageDisabledThis property is obsolete. Use the DXMenuItem.ImageOptions.ImageDisabled property to specify an image representing the menu item in the disabled state. Inherited from DXMenuItem.
ImageOptionsProvides access to settings that allow you to set up raster and vector icons for this DXMenuItem. Inherited from DXMenuItem.
IsRightToLeftGets or sets whether the menu item is aligned to support locales using right-to-left fonts. Inherited from DXMenuItem.
ItemsGets a collection of items displayed when the current submenu is expanded.
LargeImageGets or sets a large image for the current menu item. This property is obsolete. Use the DXMenuItem.ImageOptions.LargeImage property instead. Inherited from DXMenuItem.
LargeImageDisabledGets or sets a large image displayed in the current menu item when it is in the disabled state. This property is obsolete. Use the DXMenuItem.ImageOptions.LargeImageDisabled property instead. Inherited from DXMenuItem.
OwnerGets or sets the object that owns this DXMenuItem. Inherited from DXMenuItem.
PriorityGets or sets the display priority for the current item in a RadialMenu. Inherited from DXMenuItem.
ShortcutGets or sets a shortcut displayed within the menu item Inherited from DXMenuItem.
ShowHotKeyPrefixObsolete. Gets or sets whether the ampersand (‘&’) character, when it is found in the item’s DXMenuItem.Caption, acts as a shortcut prefix, or it is displayed as is. Inherited from DXMenuItem.
SuperTipGets or sets a super tip for this DXMenuItem. Inherited from DXMenuItem.
SvgImageGets or sets the vector image. This property is obsolete. Use the DXMenuItem.ImageOptions.SvgImage property instead. Inherited from DXMenuItem.
TagGets or sets the data associated with the menu item. Inherited from DXMenuItem.
VisibleGets or sets whether the menu item is visible. Inherited from DXMenuItem.

Methods

NameDescription
BindCommand(Expression<Action>, Object, Func<Object>)Uses the command selector to find an appropriate parameterized command in the source and bind it to this DXMenuItem. Inherited from DXMenuItem.
BindCommand(Object, Func<Object>)Binds the specific parameterized command to this DXMenuItem. Inherited from DXMenuItem.
BindCommand<T>(Expression<Action<T>>, Object, Func<T>)Uses the command selector to find an appropriate parameterized command of the target type in the source and bind it to this DXMenuItem. Inherited from DXMenuItem.
Dispose()Releases all the resources used by the current object. Inherited from DXMenuItem.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GenerateBeforePopupEvent()Invokes the event handler assigned to the DXSubMenuItem.BeforePopup event.
GenerateClickEvent()Invokes the event handler assigned to the DXMenuItem.Click event. Inherited from DXMenuItem.
GetCheckmarkSignInsideBox()Inherited from DXMenuItem.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetImage(ISvgPaletteProvider)Returns the actual raster image displayed by this DXMenuItem. Inherited from DXMenuItem.
GetImageHorizontalOffset()Inherited from DXMenuItem.
GetImageSize()Returns the size of the image displayed by this DXMenuItem. Inherited from DXMenuItem.
GetIsRightToLeft()Returns whether the current menu item is actually aligned to support locales using right-to-left fonts. Inherited from DXMenuItem.
GetSideStripTextIndent()Inherited from DXMenuItem.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns a string that represents the current object. Inherited from Object.

Events

NameDescription
BeforePopupAllows you to dynamically provide sub-items for the current DXSubMenuItem object.
ClickOccurs when the menu item’s functionality needs to be invoked. Inherited from DXMenuItem.
CommandCanExecuteChangedOccurs when the CanExecute(Object) status of the Command has changed. Inherited from DXMenuItem.
CommandChangedOccurs after the value of the Command property has changed. Inherited from DXMenuItem.
CommandParameterChangedOccurs after the value of the CommandParameter property has changed. Inherited from DXMenuItem.

See Also

DXSubMenuItem Class

DevExpress.Utils.Menu Namespace