DXMenuItem(String, DXMenuItemPriority) Constructor

Initializes a new instance of the DXMenuItem class with the specified caption and display priority.

Namespace: DevExpress.Utils.Menu

Assembly: DevExpress.Utils.v20.1.dll


public DXMenuItem(
    string caption,
    DXMenuItemPriority priority
Public Sub New(
    caption As String,
    priority As DXMenuItemPriority


Name Type Description
caption String

A string that specifies the text displayed by the menu item. This value is assigned to the DXMenuItem.Caption property.

priority DevExpress.Utils.Menu.DXMenuItemPriority

A DXMenuItemPriority enumeration value that specifies the display priority for the current item in a RadialMenu. This value is assigned to the DXMenuItem.Priority property.

See Also