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.v20.2.dll

Declaration

public SchedulerMenuCheckItem(
    string caption,
    bool check,
    Image image,
    EventHandler checkedChanged
)
Public Sub New(
    caption As String,
    check As Boolean,
    image As Image,
    checkedChanged As EventHandler
)

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.

See Also