Back to Devexpress

ScrollingSettings.DecelerationRatio Attached Property

wpf-devexpress-dot-xpf-dot-navbar-dot-scrollingsettings-2c06bd6a.md

latest2.4 KB
Original Source

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

NuGet Package : DevExpress.Wpf.NavBar

Declaration

See GetDecelerationRatio(DependencyObject) and SetDecelerationRatio(DependencyObject, Double).

Returns

TypeDescription
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

ClickMode

AccelerationRatio

DecelerationRatio

ScrollMode

ScrollSpeed

Scrolling

ScrollingSettings Class

ScrollingSettings Members

DevExpress.Xpf.NavBar Namespace