Skip to main content

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.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[EditorBrowsable(EditorBrowsableState.Never)]
public ImageListBoxItem(
    object value,
    int imageIndex
)

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