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

CustomDrawNodeButtonEventArgs.AllowDrawBackground Property

Gets or sets whether to draw a background that detaches the button from the tree hierarchy lines.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

public bool AllowDrawBackground { get; set; }

#Property Value

Type Description
Boolean

true, to draw a background that detaches the button from the tree hierarchy lines; otherwise, false.

#Remarks

If the TreeListOptionsView.ShowTreeLines option is enabled, the TreeList control displays lines indicating node tree hierarchy.

TreeList_ShowTreeLines

By default, node expand/collapse buttons are drawn on a background that detaches the buttons from the tree lines. You can hide this background by setting the AllowDrawBackground property to false.

See Also