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.v20.1.dll

Declaration

public DXMenuItem(
    string caption,
    EventHandler click,
    SvgImage svgImage,
    DXMenuItemPriority priority
)
Public Sub New(
    caption As String,
    click As EventHandler,
    svgImage As SvgImage,
    priority As DXMenuItemPriority
)

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