BaseListBoxControl.UseDisabledStatePainter Property

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll


public bool UseDisabledStatePainter { get; set; }
Public Property UseDisabledStatePainter As Boolean

Property Value

Type Default Description


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


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.

To specify list item appearance settings in the disabled state, use the BaseListBoxControl.AppearanceDisabled property.

See Also