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

Declaration

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

Property Value

Type Description
ScrollAnimationMode

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

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.

Implements

DevExpress.Xpf.Grid.ITableView.ScrollAnimationMode
See Also