SchedulerMenuItem(String, EventHandler, Image, EventHandler) Constructor

Initializes a new instance of the SchedulerMenuItem class with the specified caption, image, and event handlers for clicking and updating.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.2.dll

Declaration

public SchedulerMenuItem(
    string caption,
    EventHandler click,
    Image image,
    EventHandler update
)
Public Sub New(
    caption As String,
    click As EventHandler,
    image As Image,
    update 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.

click EventHandler

A EventHandler object that specifies the event handler for the DXMenuItem.Click event.

image Image

A Image value that specifies the image of the menu item. This value is assigned to the DXMenuItem.Image property.

update EventHandler

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

See Also