Skip to main content

LabelControlAppearanceObject.ImageIndex Property

Gets or sets the index of the image displayed within the label.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[DefaultValue(-1)]
[EditorBrowsable(EditorBrowsableState.Never)]
[ImageList("ImageList")]
public int ImageIndex { get; set; }

Property Value

Type Default Description
Int32 -1

An integer value that specifies the zero-based index of the image displayed within the label.

Remarks

The source of images is specified by the LabelControlAppearanceObject.ImageList property.

The label’s image can also be specified using the AppearanceObject.Image property. The image assigned to the AppearanceObject.Image property has a higher priority than the image referred to by the ImageIndex property.

See Also