Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ImageListBoxItem.Image Property

Gets or sets an image displayed by this item. This property is obsolete. Use the ImageOptions property instead.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
[DefaultValue(null)]
[DXCategory("Appearance")]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual Image Image { get; set; }

#Property Value

Type Default Description
Image null

A Image object specifying an image displayed by this item.

#Remarks

To get the index of the image displayed in the specified item, use the BaseImageListBoxControl.GetItemImage method.

Note: when the data source is bound to the ImageListBoxControl, you must specify the data source field whose contents represent images. Use the BaseImageListBoxControl.ImageMember property for this purpose. Otherwise, images cannot be displayed.

See Also