Edit

Share via


ScrollViewer.SetPanningDeceleration(DependencyObject, Double) Method

Definition

Sets the PanningDeceleration property for the specified object.

public:
 static void SetPanningDeceleration(System::Windows::DependencyObject ^ element, double value);
public static void SetPanningDeceleration (System.Windows.DependencyObject element, double value);
static member SetPanningDeceleration : System.Windows.DependencyObject * double -> unit
Public Shared Sub SetPanningDeceleration (element As DependencyObject, value As Double)

Parameters

element
DependencyObject

The object on which to set the PanningDeceleration property.

value
Double

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

Applies to