共用方式為


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 引進)

適用於