MapControlAutomationPeer.SetScrollPercent(Double, Double) Method

Definition

Sets the percentage that the map is scrolled both horizontally and vertically.

public:
 virtual void SetScrollPercent(double horizontalPercent, double verticalPercent) = SetScrollPercent;
void SetScrollPercent(double const& horizontalPercent, double const& verticalPercent);
public void SetScrollPercent(double horizontalPercent, double verticalPercent);
function setScrollPercent(horizontalPercent, verticalPercent)
Public Sub SetScrollPercent (horizontalPercent As Double, verticalPercent As Double)

Parameters

horizontalPercent
Double

double

The percentage that the map is scrolled horizontally.

verticalPercent
Double

double

The percentage that the map is scrolled vertically.

Implements

M:Windows.UI.Xaml.Automation.Provider.IScrollProvider.SetScrollPercent(System.Double,System.Double) M:Windows.UI.Xaml.Automation.Provider.IScrollProvider.SetScrollPercent(double,double)

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to