DXMenuItem(String, EventHandler, Image, Image, Image, Image, DXMenuItemPriority) Constructor
Initializes a new instance of the DXMenuItem class with the specified settings.
Namespace: DevExpress.Utils.Menu
Assembly: DevExpress.Utils.v25.1.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
Declaration
public DXMenuItem(
string caption,
EventHandler click,
Image image,
Image imageDisabled,
Image largeImage,
Image largeImageDisabled,
DXMenuItemPriority priority
)
Parameters
Name | Type | Description |
---|---|---|
caption | String | A string that specifies the text displayed by the menu item. This value is assigned to the DXMenuItem.Caption property. |
click | EventHandler | An event handler that will be invoked when the menu item is clicked or selected. This value is assigned to the DXMenuItem.Click event. |
image | Image | An image that is displayed within the menu item. This value is assigned to the |
imageDisabled | Image | An Image used to initialize the |
largeImage | Image | An Image used to initialize the |
largeImageDisabled | Image | An Image used to initialize the |
priority | DevExpress.Utils.Menu.DXMenuItemPriority | A DXMenuItemPriority enumeration value that specifies the display priority for the current item in a RadialMenu. |