Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DXMenuItem Constructors

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