Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ScrollViewer.PanningDeceleration Property

.NET Framework (current version)
 

Gets or sets the rate ScrollViewer slows in device-independent units (1/96th inch per unit) per squared millisecond when in inertia.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public double PanningDeceleration { get; set; }

Property Value

Type: System.Double

The rate ScrollViewer slows in device-independent units (1/96th inch per unit) per squared millisecond.

When a user scrolls the ScrollViewer by using touch, the user puts a finger on the ScrollViewer, moves the finger across the screen for a short distance, and then lifts the finger while it is moving. The result of this is that the ScrollViewer will continue to move after the user lifts the finger. The PanningDeceleration property specifies the rate the scrolling slows after the user lifts the finger.

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft