ImageListBoxItem.Image Property
In This Article
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