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.1.dll

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