MapElementsLayerClickEventArgs Class

Definition

Provides data for the MapElementClick event.

public ref class MapElementsLayerClickEventArgs 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 MapElementsLayerClickEventArgs 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 MapElementsLayerClickEventArgs
Public NotInheritable Class MapElementsLayerClickEventArgs
Inheritance
Object Platform::Object IInspectable MapElementsLayerClickEventArgs
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

MapElementsLayerClickEventArgs()

Initializes a new instance of the MapElementsLayerClickEventArgs class.

Properties

Location

Gets the geographic location that corresponds to where the MapElementsLayer received user input.

MapElements

Gets a list of map elements that correspond to where the MapElementsLayer received user input.

Position

Gets the physical position on the MapElementsLayer where it received user input.

Applies to