Skip to main content

DXEditMenuItem(String, RepositoryItem, Image, Image) Constructor

Initializes a new DXEditMenuItem class instance with the specified settings.

Namespace: DevExpress.Utils.Menu

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public DXEditMenuItem(
    string caption,
    RepositoryItem edit,
    Image image,
    Image disabled
)

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.

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.

See Also