ImageListBoxItem(Object, String, Int32, Object, Image) Constructor

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

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public ImageListBoxItem(
    object value,
    string description,
    int imageIndex,
    object tag,
    Image image
)
Public Sub New(
    value As Object,
    description As String,
    imageIndex As Integer,
    tag As Object,
    image As Image
)

Parameters

Name Type Description
value Object

An object representing the item's value. This value is assigned to the ListBoxItem.Value property.

description String

A string that specifies the item's display text. This value is assigned to the ImageListBoxItem.Description property.

imageIndex Int32

An integer value representing the zero-based index of the image displayed in the item. This value is assigned to the ImageListBoxItem.ImageIndex property.

tag Object

Custom data associated with the item. This value is assigned to the ListBoxItem.Tag property.

image Image

An image displayed by the item. This value is assigned to the ImageListBoxItem.Image property.

See Also