Back to Devexpress

ImageSlider.UseDisabledStatePainter Property

windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-imageslider-29416702.md

latest1.8 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[DXCategory("Behavior")]
public bool UseDisabledStatePainter { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(True)>
Public Property UseDisabledStatePainter As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

ImageSlider Class

ImageSlider Members

DevExpress.XtraEditors.Controls Namespace