wpf-devexpress-dot-xpf-dot-grid-dot-treeviewcontrol-412e4945.md
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
public ScrollAnimationMode ScrollAnimationMode { get; set; }
Public Property ScrollAnimationMode As ScrollAnimationMode
| 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).
|
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