ScrollViewer.SetPanningDeceleration(DependencyObject, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.