Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeList.UseDisabledStatePainter Property

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

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

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

#Property Value

Type Default Description
Boolean true

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