Skip to main content
All docs
V22.1

TreeViewControl.ScrollAnimationMode Property

Gets or sets the scroll animation mode. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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

Declaration

public ScrollAnimationMode ScrollAnimationMode { get; set; }

Property Value

Type Default Description
ScrollAnimationMode

EaseOut

The scroll animation 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 create a visual effect for per-pixel scrolling, set the AllowScrollAnimation property to true. The ScrollAnimationMode and ScrollAnimationDuration properties allow you to customize the animation.

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 CustomScrollAnimation event to create a custom animation effect.

For information about the per-pixel scrolling, refer to the following DevExpress WPF Grid help topic: Per-Pixel Scrolling.

See Also