ScrollViewer.SetPanningRatio(DependencyObject, Double) 方法

定义

为指定对象设置 PanningRatio 属性。

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

参数

element
DependencyObject

要对其设置 PanningRatio 属性的对象。

value
Double

滚动偏移与转换操作偏移的比例。

适用于