MapControl.TryPanAsync(Double, Double) MapControl.TryPanAsync(Double, Double) MapControl.TryPanAsync(Double, Double) MapControl.TryPanAsync(Double, Double) Method

Definition

Starts an asynchronous operation to pan the map from its current position.

public : IAsyncOperation<Platform::Boolean> TryPanAsync(double horizontalPixels, double verticalPixels)
IAsyncOperation<bool> TryPanAsync(double horizontalPixels, double verticalPixels) const;
public IAsyncOperation<bool> TryPanAsync(Double horizontalPixels, Double verticalPixels)
Public Function TryPanAsync(horizontalPixels As Double, verticalPixels As Double) As IAsyncOperation(Of bool)

Parameters

horizontalPixels
Double Double

The pixels to pan horizontally.

verticalPixels
Double Double

The pixels to pan vertically.

Returns

Contains the results of the operation: true if the operation completed successfully; otherwise, false.

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)