DXMenuItem(String, EventHandler, SvgImage, DXMenuItemPriority) Constructor
Initializes a new instance of the DXMenuItem class with the specified settings.
Namespace: DevExpress.Utils.Menu
Assembly: DevExpress.Utils.v25.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
Declaration
public DXMenuItem(
string caption,
EventHandler click,
SvgImage svgImage,
DXMenuItemPriority priority
)
Parameters
| Name | Type | Description |
|---|---|---|
| caption | String | The menu item’s caption. |
| click | EventHandler | The EventHandler object that handles the menu item’s Click event. |
| svgImage | SvgImage | The SVG image. |
| priority | DevExpress.Utils.Menu.DXMenuItemPriority | A |
See Also