Back to Devexpress

BaseImageListBoxControl.ImageList Property

windowsforms-devexpress-dot-xtraeditors-dot-baseimagelistboxcontrol-d33886b8.md

latest3.0 KB
Original Source

BaseImageListBoxControl.ImageList Property

Gets or sets the source of images to be displayed within the items.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(null)]
[DXCategory("Appearance")]
public object ImageList { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(Nothing)>
Public Property ImageList As Object

Property Value

TypeDefaultDescription
Objectnull

An object which is the source of images.

|

Remarks

The image list box is used to display a list of items an end-user can select. It can also display an image next to an item in the list. Use the ImageList property to specify the source of the images (bitmaps, icons, or meta files). To assign images to individual items, use the ImageListBoxItem.ImageOptions property.

The ImageList property accepts the following image collections:

Note

When an ImageListBoxControl is data bound, you must define the data source field whose contents represent the image indexes. Use the BaseImageListBoxControl.ImageIndexMember property for this purpose.

If your data source contains images, use the BaseImageListBoxControl.ImageMember property to assign images to items.

See Also

ImageIndexMember

ImageMember

ImageOptions

BaseImageListBoxControl Class

BaseImageListBoxControl Members

DevExpress.XtraEditors Namespace