Skip to main content

LabelControlAppearanceObject.PressedImageIndex Property

OBSOLETE

Use AppearancePressed instead.

Gets or sets the index of the image to be displayed within the label when the control is pressed.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[DefaultValue(-1)]
[EditorBrowsable(EditorBrowsableState.Never)]
[ImageList("ImageList")]
[Obsolete("Use AppearancePressed instead.")]
public int PressedImageIndex { get; set; }

Property Value

Type Default Description
Int32 -1

An integer value that represents a zero-based index of an image in the LabelControlAppearanceObject.ImageList collection.

Remarks

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

To provide an image to be displayed in the pressed state, you can also use the LabelControlAppearanceObject.PressedImage property. The image assigned to the LabelControlAppearanceObject.PressedImage property has a higher priority than the image referred to by the PressedImageIndex property.

See Also