ImageListBoxItem(Object, Int32) Constructor

Creates a new ImageListBoxItem object and instantiates its ListBoxItem.Value and ImageListBoxItem.ImageIndex properties.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public ImageListBoxItem(
    object value,
    int imageIndex
)
Public Sub New(
    value As Object,
    imageIndex As Integer
)

Parameters

Name Type Description
value Object

An object representing the item's value. This value is assigned to the ListBoxItem.Value 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.

See Also