DXMenuItem(String, EventHandler, Image) Constructor
In This Article
Initializes a new instance of the DXMenuItem class with the specified caption, image and Click event handler
Namespace: DevExpress.Utils.Menu
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
public DXMenuItem(
string caption,
EventHandler click,
Image image
)
#Parameters
Name | Type | Description |
---|---|---|
caption | String | A string that specifies the text displayed by the menu item. This value is assigned to the DXMenu |
click | Event |
An event handler that will be invoked when the menu item is clicked or selected. This value is assigned to the DXMenu |
image | Image | An image that is displayed within the menu item. This value is assigned to the |
See Also