Skip to main content

LabelControlAppearanceObject.ImageList Property

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[DefaultValue(null)]
[EditorBrowsable(EditorBrowsableState.Never)]
public object ImageList { get; set; }

Property Value

Type Default Description
Object null

An object that is an image collection providing images for the LabelControl.

Remarks

The ImageList property accepts the following image collections:

After a source of images has been specified, you can use the following properties to specify images to be displayed within the label control when it’s in different states:

Alternatively, you can provide images directly via the AppearanceObject.Image,LabelControlAppearanceObject.DisabledImage,LabelControlAppearanceObject.HoverImage and LabelControlAppearanceObject.PressedImageproperties.

The image’s alignment is specified by the LabelControlAppearanceObject.ImageAlign property. To specify the alignment of the image relative to the label’s text, use the LabelControl.ImageAlignToText property.

See Also