Skip to main content

DXSubMenuItem Members

Specifies a submenu.

Constructors

Name Description
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

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

Methods

Name Description
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) static Determines 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.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetImage(ISvgPaletteProvider) Returns the actual raster image displayed by this DXMenuItem. 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.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines 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

Name Description
BeforePopup Allows you to dynamically provide sub-items for the current DXSubMenuItem object.
Click Occurs when the menu item’s functionality needs to be invoked. Inherited from DXMenuItem.
CommandCanExecuteChanged Occurs when the CanExecute(Object) status of the Command has changed. Inherited from DXMenuItem.
CommandChanged Occurs after the value of the Command property has changed. Inherited from DXMenuItem.
CommandParameterChanged Occurs after the value of the CommandParameter property has changed. Inherited from DXMenuItem.
See Also