MapControlAutomationPeer.Scroll(ScrollAmount, ScrollAmount) 方法

定义

按指定的水平和垂直量滚动地图。

public:
 virtual void Scroll(ScrollAmount horizontalAmount, ScrollAmount verticalAmount) = Scroll;
void Scroll(ScrollAmount const& horizontalAmount, ScrollAmount const& verticalAmount);
public void Scroll(ScrollAmount horizontalAmount, ScrollAmount verticalAmount);
function scroll(horizontalAmount, verticalAmount)
Public Sub Scroll (horizontalAmount As ScrollAmount, verticalAmount As ScrollAmount)

参数

horizontalAmount
ScrollAmount

水平滚动地图的量。

verticalAmount
ScrollAmount

垂直滚动地图的量。

实现

Windows 要求

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

适用于