MapContextRequestedEventArgs MapContextRequestedEventArgs MapContextRequestedEventArgs MapContextRequestedEventArgs Class

Definition

Provides event data for the MapContextRequested event.

public : sealed class MapContextRequestedEventArgs
struct winrt::Windows::UI::Xaml::Controls::Maps::MapContextRequestedEventArgs
public sealed class MapContextRequestedEventArgs
Public NotInheritable Class MapContextRequestedEventArgs
Attributes

Windows 10 requirements

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

Constructors

MapContextRequestedEventArgs() MapContextRequestedEventArgs() MapContextRequestedEventArgs() MapContextRequestedEventArgs()

Initializes a new instance of the MapContextRequestedEventArgs class.

Properties

Location Location Location Location

Gets a geolocation on the map of a context input gesture, such as a right-click.

MapElements MapElements MapElements MapElements

Gets a collection of MapElement objects at the point on the map specified by the Location property.

Position Position Position Position

Gets the x- and y-coordinate values that define the point on the map of a context input gesture, such as a right-click.