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.v24.2.dll
Declaration
public SchedulerMenuItem(
string caption,
EventHandler click,
Image image,
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. |
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