Skip to main content

ImageListBoxItem(Object, String, Int32, Object) Constructor

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

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

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.

See Also