ScrollViewer.GetPanningRatio(DependencyObject) 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.
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.