Modifier

Partager via


ScrollViewer.SetPanningRatio(DependencyObject, Double) Method

Definition

Sets the PanningRatio property for the specified object.

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)

Parameters

element
DependencyObject

The object on which to set the PanningRatio property.

value
Double

The ratio of scrolling offset to translate manipulation offset.

Applies to