SchedulerMenuCheckItem(String, Boolean, Image, EventHandler) Constructor
Initializes a new instance of the SchedulerMenuCheckItem class with the specified caption, check state, image, and an event handler for check state changing.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.1.dll
NuGet Package: DevExpress.Win.Scheduler
Declaration
public SchedulerMenuCheckItem(
string caption,
bool check,
Image image,
EventHandler checkedChanged
)
Parameters
Name | Type | Description |
---|---|---|
caption | String | A String value that specifies the caption of the menu item. This value is assigned to the DXMenuItem.Caption property. |
check | Boolean | true if the menu item is checked; otherwise, false. This value is assigned to the DXMenuCheckItem.Checked property. |
image | Image | A Image value that specifies the image of the menu item. This value is assigned to the DXMenuItem.Image property. |
checkedChanged | EventHandler | A EventHandler object that specifies the event handler for the DXMenuCheckItem.CheckedChanged event. |