Back to Devexpress

TreeViewControl.ScrollAnimationMode Property

wpf-devexpress-dot-xpf-dot-grid-dot-treeviewcontrol-412e4945.md

latest2.2 KB
Original Source

TreeViewControl.ScrollAnimationMode Property

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

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

Property Value

TypeDefaultDescription
ScrollAnimationModeEaseOut

The scroll animation mode.

|

Available values:

NameDescription
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

  • Ease In/Out

  • Linear

  • Custom

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

See Also

TreeViewControl Class

TreeViewControl Members

DevExpress.Xpf.Grid Namespace