共用方式為


ScrollViewer.SetPanningDeceleration(DependencyObject, Double) 方法

定義

為指定的物件設定 PanningDeceleration 屬性。

public:
 static void SetPanningDeceleration(System::Windows::DependencyObject ^ element, double value);
public static void SetPanningDeceleration (System.Windows.DependencyObject element, double value);
static member SetPanningDeceleration : System.Windows.DependencyObject * double -> unit
Public Shared Sub SetPanningDeceleration (element As DependencyObject, value As Double)

參數

element
DependencyObject

要設定 PanningDeceleration 屬性的物件。

value
Double

每單位 1/96 英吋的裝置獨立單位速率 ScrollViewer 會變慢 (,每平方毫秒) 1/96 英吋。

適用於