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

ScrollingSettings.AccelerationRatio Attached Property

Gets or sets the acceleration 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 scrolling speed’s acceleration ratio (in pixels per second squared).

Remarks

When scrolling is initiated by an end-user (by pressing and holding down a scroll button), the AccelerationRatio property specifies the scrolling speed acceleration - how fast the scrolling speed can be changed from 0 to ScrollingSettings.ScrollSpeed.

To learn more, see the Scrolling topic.

See Also