Back to Devexpress

ScrollControl.AnimateScrolling Property

wpf-devexpress-dot-xpf-dot-core-dot-scrollcontrol-f3de15f3.md

latest2.0 KB
Original Source

ScrollControl.AnimateScrolling Property

Gets or sets if the layout control scrolling animation effect is enabled. This is a dependency property.

Namespace : DevExpress.Xpf.Core

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public bool AnimateScrolling { get; set; }
vb
Public Property AnimateScrolling As Boolean

Property Value

TypeDescription
Boolean

true if the layout control scrolling animation effect is enabled; otherwise, false. The default value is true.

|

Remarks

A content within a scrollable layout control (the ScrollControl class descendant) can be scrolled via ScrollControl.ScrollBars, the drag scroll feature (see the ScrollControl.DragScrolling link) or mouse scroll button. Whatever option you choose, the smooth scrolling effect can be turned on/off via the AnimateScrolling property. Additionally, the animation can be customized via the ScrollControl.AnimatedScrollingDuration field.

See Also

ScrollBars

DragScrolling

AnimatedScrollingDuration

ScrollControl Class

ScrollControl Members

DevExpress.Xpf.Core Namespace