LabelControlAppearanceObject.DisabledImageIndex Property
OBSOLETE
Use AppearanceDisabled instead.
Gets or sets the index of the image to be displayed within the label when the control is disabled.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[Browsable(false)]
[DefaultValue(-1)]
[EditorBrowsable(EditorBrowsableState.Never)]
[ImageList("ImageList")]
[Obsolete("Use AppearanceDisabled instead.")]
public int DisabledImageIndex { 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 disabled state, you can also use the LabelControlAppearanceObject.DisabledImage property. The image assigned to the LabelControlAppearanceObject.DisabledImage property has a higher priority than the image referred to by the DisabledImageIndex property.