Skip to main content

DXEditMenuItem(String, RepositoryItem) 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
)

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.

See Also