Skip to main content

SchedulerMenuCheckItem(String, Boolean, Image, EventHandler, EventHandler) Constructor

Initializes a new instance of the SchedulerMenuCheckItem class with the specified caption, check state, image, and event handlers for check state changing and updating.

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,
    EventHandler update
)

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.

update EventHandler

A EventHandler object that specifies the event handler for the DevExpress.Utils.Menu.CommandMenuCheckItem<T>.Update event.

See Also