Back to Devexpress

VGridControlBase.UseDisabledStatePainter Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-vgridcontrolbase-4b89493c.md

latest1.8 KB
Original Source

VGridControlBase.UseDisabledStatePainter Property

Gets or sets whether the control is painted grayed out, when it’s in the disabled state.

Namespace : DevExpress.XtraVerticalGrid

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

true if the control is painted grayed out, when it’s in the disabled state; otherwise, false

|

Remarks

When the control’s Enabled property is set to false and the UseDisabledStatePainter option is set to true , the control is painted grayed out. If the UseDisabledStatePainter property is set to false , the control is painted as if it’s not disabled. However, an end-user cannot manipulate the control in either case.

See Also

VGridControlBase Class

VGridControlBase Members

DevExpress.XtraVerticalGrid Namespace