windowsforms-devexpress-dot-xtraeditors-dot-baseimagelistboxcontrol-d33886b8.md
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
[DefaultValue(null)]
[DXCategory("Appearance")]
public object ImageList { get; set; }
<DXCategory("Appearance")>
<DefaultValue(Nothing)>
Public Property ImageList As Object
| Type | Default | Description |
|---|---|---|
| Object | null |
An object which is the source of images.
|
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