Skip to main content

DXMenuItem(String, EventHandler, SvgImage, DXMenuItemPriority) Constructor

Initializes a new instance of the DXMenuItem class with the specified settings.

Namespace: DevExpress.Utils.Menu

Assembly: DevExpress.Utils.v24.1.dll

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

Declaration

public DXMenuItem(
    string caption,
    EventHandler click,
    SvgImage svgImage,
    DXMenuItemPriority priority
)

Parameters

Name Type Description
caption String

The menu item’s caption.

click EventHandler

The EventHandler object that handles the menu item’s Click event.

svgImage SvgImage

The DXMenuItem.SvgImage property value.

priority DevExpress.Utils.Menu.DXMenuItemPriority

The DXMenuItem.Priority property value.

See Also