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.EnableEnhancedScrolling Property

Gets or sets whether the Tree List uses an enhanced scroll mechanism, which only repaints the part of its area that becomes visible after a scroll operation.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

[Browsable(false)]
public bool EnableEnhancedScrolling { get; set; }

#Property Value

Type Description
Boolean

true, if, during scrolling, Tree List redraws the part of its area that becomes visible, and does not invalidate the rest of the area; false, to repaint the scrollable area in its entirety.

#Remarks

If the EnableEnhancedScrolling property is set to true, Tree List does not apply changes you perform via custom draw events for elements outside the newly visible scroll region. This may affect individual custom painting scenarios, for instance, if they rely on absolute positions of visual elements.

To restore the legacy scroll mechanism, which invalidates all visible elements during scroll operations, you can do one of the following:

Note

The enhanced scroll mechanism is not applied in the following cases:

See Also