Skip to main content

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.1.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