Share via


MapElementsLayerContextRequestedEventArgs Class

Definition

Provides event data for the MapContextRequested event.

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

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Constructors

MapElementsLayerContextRequestedEventArgs()

Initializes a new instance of the MapElementsLayerContextRequestedEventArgs class.

Properties

Location

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

MapElements

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

Position

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

Applies to