Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DXMenuItem Properties

A regular menu item.
Name Description
AllowGlyphSkinning Gets or sets whether the current DXMenuItem icon should be painted in the DXMenuItem‘s foreground color.
Appearance Provides access to the appearance settings used to paint the DXMenuItem in the normal state.
AppearanceDisabled Provides access to the appearance settings used to paint the DXMenuItem in the disbled state.
AppearanceHovered Provides access to the appearance settings used to paint the DXMenuItem in the hovered state.
BeginGroup Gets or sets whether the current menu item starts a group.
Caption Specifies the text displayed within the menu item.
CloseMenuOnClick This member supports the internal infrastructure and is not intended to be used directly from your code.
CloseOwnerMenuOnlyOnClick This member supports the internal infrastructure and is not intended to be used directly from your code.
Collection Gets the menu item collection which owns the current menu item.
Command Gets or sets the ICommand whose Execute(Object) method will be called when the Click event is invoked.
CommandParameter Gets or sets the parameter that is passed to the command specified by the Command property.
Enabled Gets or sets whether the menu item is enabled.
HasImage Returns whether or not this DXMenuItem has an image assigned.
Image This property is obsolete. Use the DXMenuItem.ImageOptions.Image property to display an image in the menu item.
ImageDisabled This property is obsolete. Use the DXMenuItem.ImageOptions.ImageDisabled property to specify an image representing the menu item in the disabled state.
ImageOptions Provides access to settings that allow you to set up raster and vector icons for this DXMenuItem.
IsRightToLeft Gets or sets whether the menu item is aligned to support locales using right-to-left fonts.
LargeImage Gets or sets a large image for the current menu item. This property is obsolete. Use the DXMenuItem.ImageOptions.LargeImage property instead.
LargeImageDisabled Gets 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.
Owner Gets or sets the object that owns this DXMenuItem.
Priority Gets or sets the display priority for the current item in a RadialMenu.
Shortcut Gets or sets a shortcut displayed within the menu item
ShowHotKeyPrefix Obsolete. 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.
SuperTip Gets or sets a super tip for this DXMenuItem.
SvgImage Gets or sets the vector image. This property is obsolete. Use the DXMenuItem.ImageOptions.SvgImage property instead.
Tag Gets or sets the data associated with the menu item.
Visible Gets or sets whether the menu item is visible.
See Also