Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DXMenuItem(String, DXMenuItemPriority) Constructor

In This Article

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

Namespace: DevExpress.Utils.Menu

Assembly: DevExpress.Utils.v24.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#Declaration

public DXMenuItem(
    string caption,
    DXMenuItemPriority priority
)

#Parameters

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.

See Also