DXMenuItem(String, EventHandler, Image, Image, Image, Image) 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,
    Image image,
    Image imageDisabled,
    Image largeImage,
    Image largeImageDisabled
)
Public Sub New(
    caption As String,
    click As EventHandler,
    image As Image,
    imageDisabled As Image,
    largeImage As Image,
    largeImageDisabled As Image
)

Parameters

Name Type Description
caption String

A string used to initialize the item's DXMenuItem.Caption property.

click EventHandler

A handler for the DXMenuItem.Click event.

image Image

An Image used to initialize the DXMenuItem.Image property.

imageDisabled Image

An Image used to initialize the DXMenuItem.ImageDisabled property.

largeImage Image

An Image used to initialize the DXMenuItem.LargeImage property.

largeImageDisabled Image

An Image used to initialize the DXMenuItem.LargeImageDisabled property.

See Also