ScrollViewer.GetPanningMode(DependencyObject) Method

Definition

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

public:
 static System::Windows::Controls::PanningMode GetPanningMode(System::Windows::DependencyObject ^ element);
public static System.Windows.Controls.PanningMode GetPanningMode (System.Windows.DependencyObject element);
static member GetPanningMode : System.Windows.DependencyObject -> System.Windows.Controls.PanningMode
Public Shared Function GetPanningMode (element As DependencyObject) As PanningMode

Parameters

element
DependencyObject

The element from which the property value is read.

Returns

A value that specifies how ScrollViewer reacts to touch manipulation.

Applies to