A newer version of this page is available. Switch to the current version.

TreeListView.ScrollAnimationMode Property

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

Namespace: DevExpress.Xpf.Grid

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

Declaration

public ScrollAnimationMode ScrollAnimationMode { get; set; }

Property Value

Type Description
ScrollAnimationMode

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

Available values:

Name Description
EaseOut

Starts quickly and then decelerates.

Linear

Moves smoothly.

EaseInOut

Starts slowly, accelerates and then decelerates.

Custom

A custom animation effect implemented within the TableView.CustomScrollAnimation event handler (TreeListView.CustomScrollAnimation in TreeListView).

Remarks

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