MapContextRequestedEventArgs Klasse

Definition

Stellt Ereignisdaten für das MapContextRequested-Ereignis bereit .

public ref class MapContextRequestedEventArgs sealed
/// [Windows.Foundation.Metadata.Activatable(262144, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MapContextRequestedEventArgs final
[Windows.Foundation.Metadata.Activatable(262144, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MapContextRequestedEventArgs
Public NotInheritable Class MapContextRequestedEventArgs
Vererbung
Object Platform::Object IInspectable MapContextRequestedEventArgs
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 Creators Update (eingeführt in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v4.0)

Konstruktoren

MapContextRequestedEventArgs()

Initialisiert eine neue instance der MapContextRequestedEventArgs-Klasse.

Eigenschaften

Location

Ruft einen Geolocation auf der Karte einer Kontexteingabegeste ab, z. B. mit der rechten Maustaste.

MapElements

Ruft eine Auflistung von MapElement-Objekten an dem Punkt auf der Karte ab, die von der Location-Eigenschaft angegeben wird.

Position

Ruft die x- und y-Koordinatenwerte ab, die den Punkt auf der Karte einer Kontexteingabegeste definieren, z. B. ein Rechtsklick.

Gilt für: