ScrollViewer.GetPanningMode(DependencyObject) 方法

定义

返回指定对象的 PanningMode 属性值。

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

参数

element
DependencyObject

要从中读取属性值的元素。

返回

PanningMode

指定 ScrollViewer 如何响应触摸操作的值。

适用于