DXMenuCheckItem(String, Boolean, Image, EventHandler) Constructor
Initializes a new instance of the DXMenuCheckItem class with the specified caption, image, check state and event handler.
Namespace: DevExpress.Utils.Menu
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
public DXMenuCheckItem(
string caption,
bool check,
Image image,
EventHandler checkedChanged
)
#Parameters
Name | Type | Description |
---|---|---|
caption | String | A string that specifies the menu item’s caption. This value is assigned to the DXMenu |
check | Boolean | A Boolean value that specifies the menu item’s check state. This value is assigned to the DXMenu |
image | Image | An image that is displayed within the menu item. This value is assigned to the |
checked |
Event |
An event handler that will be invoked when the check state is toggled. This value is assigned to the DXMenu |