Skip to main content

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.v23.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool AnimateScrolling { get; set; }

Property Value

Type Description
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