MapControlAutomationPeer.SetScrollPercent(Double, Double) 方法

定义

设置地图水平和垂直滚动的百分比。

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)

参数

horizontalPercent
Double

double

水平滚动地图的百分比。

verticalPercent
Double

double

地图垂直滚动的百分比。

实现

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

Windows 要求

设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)

适用于