TreeListView.ScrollAnimationMode Property

Gets or sets the per-pixel scrolling mode. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.1.dll


public ScrollAnimationMode ScrollAnimationMode { get; set; }
Public Property ScrollAnimationMode As ScrollAnimationMode

Property Value

Type Description

A ScrollAnimationMode enumeration value that specifies the per-pexel scrolling mode.


To provide a visual effect for per-pixel scrolling, set the TreeListView.AllowScrollAnimation property to true. The ScrollAnimationMode and TreeListView.ScrollAnimationDuration properties allow you to customize the animation. The first property specifies the scrolling mode, the second property specifies the animation length.

The following modes are available:

  • Ease Out

    Starts quickly and then decelerates.

  • Ease In/Out

    Starts slowly, accelerates and then decelerates.

  • Linear

    Moves smoothly.

  • Custom

    Handle the TableView.CustomScrollAnimation event, to provide a custom animation effect.


See Also