MapControlAutomationPeer.Scroll(ScrollAmount, ScrollAmount) Method

Definition

Scrolls the map by the specified horizontal and vertical amounts.

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)

Parameters

horizontalAmount
ScrollAmount

The amount to scroll the map horizontally.

verticalAmount
ScrollAmount

The amount to scroll the map vertically.

Implements

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