Share via


MapContextRequestedEventArgs Class

Definition

Provides event data for the MapContextRequested event.

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
Inheritance
Object Platform::Object IInspectable MapContextRequestedEventArgs
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Constructors

MapContextRequestedEventArgs()

Initializes a new instance of the MapContextRequestedEventArgs class.

Properties

Location

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

MapElements

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

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.

Applies to