DXEditMenuItem(String, RepositoryItem, EventHandler, Image, Image, Int32, Int32) Constructor
Initializes a new DXEditMenuItem class instance with the specified settings.
Namespace: DevExpress.Utils.Menu
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
public DXEditMenuItem(
string caption,
RepositoryItem edit,
EventHandler editValueChanged,
Image image,
Image disabled,
int width,
int height
)
Parameters
Name | Type | Description |
---|---|---|
caption | String | A string value that specifies the item’s caption. This parameter initializes the DXMenuItem.Caption property. |
edit | RepositoryItem | A RepositoryItem descendant that determines the editor’s type and contains its properties. This parameter initializes the DXEditMenuItem.Edit property. |
editValueChanged | EventHandler | An event handler that will be invoked when the editor’s value is changed. This value is assigned to the DXEditMenuItem.EditValueChanged event. |
image | Image | An item’s image. This parameter initializes the DXMenuItem.Image property. |
disabled | Image | An item’s image to be displayed when the item is disabled. This parameter initializes the DXMenuItem.ImageDisabled property. |
width | Int32 | An integer value that is the editor’s width. This parameter initializes the DXEditMenuItem.Width property. |
height | Int32 | An integer value that is the editor’s height. This parameter initializes the DXEditMenuItem.Height property. |