DXEditMenuItem(String, RepositoryItem, EventHandler, Image, Image) Constructor
Initializes a new DXEditMenuItem class instance with the specified settings.
Namespace: DevExpress.Utils.Menu
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public DXEditMenuItem(
string caption,
RepositoryItem edit,
EventHandler editValueChanged,
Image image,
Image disabled
)
#Parameters
Name | Type | Description |
---|---|---|
caption | String | A string value that specifies the item’s caption. This parameter initializes the DXMenu |
edit | Repository |
A Repository |
edit |
Event |
An event handler that will be invoked when the editor’s value is changed. This value is assigned to the DXEdit |
image | Image | An item’s image. This parameter initializes the |
disabled | Image | An item’s image to be displayed when the item is disabled. This parameter initializes the |