Skip to main content
A newer version of this page is available. .

ScrollingSettings.DecelerationRatio Attached Property

Gets or sets the deceleration ratio of the scrolling speed (in pixels per second squared), when scrolling using scroll buttons. This is an attached property.

Namespace: DevExpress.Xpf.NavBar

Assembly: DevExpress.Xpf.NavBar.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.NavBar, DevExpress.Wpf.Navigation

Declaration

Returns

Type Description
Double

A double precision floating-point value specifying the deceleration ratio of the scrolling speed (in pixels per second squared).

Remarks

The initiated scrolling can be finished either by an end-user (by releasing a scroll buttons) or automatically (when the end of the scrollable content is reached). When scrolling finishes, the DecelerationRatio property specifies the scrolling speed deceleration - how fast the scrolling speed can be changed from ScrollingSettings.ScrollSpeed to 0.

To learn more, see the Scrolling topic.

See Also