Skip to main content

ImageSlider.UseDisabledStatePainter Property

Gets or sets whether images are painted grayed out when the ImageSlider control is disabled.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(true)]
[DXCategory("Behavior")]
public bool UseDisabledStatePainter { get; set; }

Property Value

Type Default Description
Boolean true

true if images are painted grayed out when the ImageSlider control is disabled; otherwise, false. Default is true.

Remarks

By default, if the Enabled property is set to false, images in the ImageSlider control are painted grayed out, indicating that the control is disabled. Set the UseDisabledStatePainter property to fasle to paint images normally.

See Also