Redigera

Dela via


ScrollViewer.PanningDeceleration Property

Definition

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

public:
 property double PanningDeceleration { double get(); void set(double value); };
public double PanningDeceleration { get; set; }
member this.PanningDeceleration : double with get, set
Public Property PanningDeceleration As Double

Property Value

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

Remarks

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.

Applies to