Skip to main content

ImageListBoxItem(Object, String, ImageListBoxItemImageOptions, 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

[ImageListBoxItemPrefferedContructor]
public ImageListBoxItem(
    object value,
    string description,
    ImageListBoxItemImageOptions imageOptions,
    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.

imageOptions DevExpress.XtraEditors.Controls.ImageListBoxItemImageOptions

An object that stores image-related options. This value is assigned to the ImageListBoxItem.ImageOptions property.

tag Object

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

See Also