Skip to main content
A newer version of this page is available. .

DXMenuItem Constructors

Represents a regular menu item.
Name Parameters Description
DXMenuItem() none Initializes a new instance of the DXMenuItem class with default settings.
DXMenuItem(String, DXMenuItemPriority) caption, priority Initializes a new instance of the DXMenuItem class with the specified caption and display priority.
DXMenuItem(String, EventHandler, DXMenuItemPriority) caption, click, priority Initializes a new instance of the DXMenuItem class with the specified caption, display priority and Click event handler.
DXMenuItem(String, EventHandler, SvgImage, DXMenuItemPriority) caption, click, svgImage, priority Initializes a new instance of the DXMenuItem class with the specified settings.
DXMenuItem(String, EventHandler, Image, Image, Image, Image, DXMenuItemPriority) caption, click, image, imageDisabled, largeImage, largeImageDisabled, priority Initializes a new instance of the DXMenuItem class with the specified settings.
DXMenuItem(String, EventHandler, Image, Image, Image, Image) caption, click, image, imageDisabled, largeImage, largeImageDisabled Initializes a new instance of the DXMenuItem class with the specified settings.
DXMenuItem(String, EventHandler, Image, Image) caption, click, image, imageDisabled Initializes a new instance of the DXMenuItem class with the specified settings.
DXMenuItem(String, EventHandler, Image) caption, click, image Initializes a new instance of the DXMenuItem class with the specified caption, image and Click event handler
DXMenuItem(String, EventHandler) caption, click Initializes a new instance of the DXMenuItem class with the specified caption and Click event handler
DXMenuItem(String) caption Initializes a new instance of the DXMenuItem class with the specified caption.
See Also