Redigera

Dela via


ScrollViewer.GetPanningRatio(DependencyObject) Method

Definition

Returns the value of the PanningRatio property for the specified object.

public:
 static double GetPanningRatio(System::Windows::DependencyObject ^ element);
public static double GetPanningRatio (System.Windows.DependencyObject element);
static member GetPanningRatio : System.Windows.DependencyObject -> double
Public Shared Function GetPanningRatio (element As DependencyObject) As Double

Parameters

element
DependencyObject

The element from which the property value is read.

Returns

The ratio of scrolling offset to translate manipulation offset.

Applies to