共用方式為


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 如何回應觸控操作的值。

適用於