MapElementsLayer MapElementsLayer MapElementsLayer Class

Definition

Represents a collection of map elements to which you can bind data and manipulate independently of other map elements.

public : sealed class MapElementsLayer : MapLayer, IMapElementsLayer
public sealed class MapElementsLayer : MapLayer, IMapElementsLayer
Public NotInheritable Class MapElementsLayer Inherits MapLayer Implements IMapElementsLayer
Inheritance
MapElementsLayerMapElementsLayerMapElementsLayer
Attributes
Windows 10 requirements
Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Constructors

MapElementsLayer() MapElementsLayer() MapElementsLayer()

Creates a MapElementsLayer instance.

public : MapElementsLayer()
public MapElementsLayer()
Public Sub New()

Properties

Dispatcher Dispatcher Dispatcher

Inherited from DependencyObject

MapElements MapElements MapElements

Gets the collection of MapElement objects that are children of the MapElementsLayer.

public : IVector<MapElement> MapElements { get; set; }
public IList<MapElement> MapElements { get; set; }
Public ReadWrite Property MapElements As IList<MapElement>
Value
IVector<MapElement> IList<MapElement> IList<MapElement>

The collection of MapElement objects that are children of the MapElementsLayer.

MapElementsProperty MapElementsProperty MapElementsProperty

Identifies the MapElements dependency property.

public : static DependencyProperty MapElementsProperty { get; }
public static DependencyProperty MapElementsProperty { get; }
Public Static ReadOnly Property MapElementsProperty As DependencyProperty

MapTabIndex MapTabIndex MapTabIndex

Inherited from MapLayer

MapTabIndexProperty MapTabIndexProperty MapTabIndexProperty

Inherited from MapLayer

Visible Visible Visible

Inherited from MapLayer

VisibleProperty VisibleProperty VisibleProperty

Inherited from MapLayer

ZIndex ZIndex ZIndex

Inherited from MapLayer

ZIndexProperty ZIndexProperty ZIndexProperty

Inherited from MapLayer

Events

MapContextRequested MapContextRequested MapContextRequested

Occurs when the user has completed a context input gesture on a map layer, such as a right-click.

public : event TypedEventHandler MapContextRequested<MapElementsLayer, MapElementsLayerContextRequestedEventArgs>
public event TypedEventHandler MapContextRequested<MapElementsLayer, MapElementsLayerContextRequestedEventArgs>
Public Event TypedEventHandler MapContextRequested( Of ( Of MapElementsLayer ), ( Of MapElementsLayerContextRequestedEventArgs ))

MapElementClick MapElementClick MapElementClick

Occurs when the user taps or clicks a MapElement that has been add to the MapElementsLayer.

public : event TypedEventHandler MapElementClick<MapElementsLayer, MapElementsLayerClickEventArgs>
public event TypedEventHandler MapElementClick<MapElementsLayer, MapElementsLayerClickEventArgs>
Public Event TypedEventHandler MapElementClick( Of ( Of MapElementsLayer ), ( Of MapElementsLayerClickEventArgs ))

Remarks

Touch, mouse, and pen/stylus interactions are received, processed, and managed as pointers. Any of these devices and their interactions can produce a MapElementsClick event. An instance of MapElementsLayerClickEventArgs provides data for this event.

MapElementPointerEntered MapElementPointerEntered MapElementPointerEntered

Occurs when a pointer moves into the bounding area of a MapElement on a MapElementsLayer.

public : event TypedEventHandler MapElementPointerEntered<MapElementsLayer, MapElementsLayerPointerEnteredEventArgs>
public event TypedEventHandler MapElementPointerEntered<MapElementsLayer, MapElementsLayerPointerEnteredEventArgs>
Public Event TypedEventHandler MapElementPointerEntered( Of ( Of MapElementsLayer ), ( Of MapElementsLayerPointerEnteredEventArgs ))

Remarks

Mouse interactions are received, processed, and managed as pointers. The MapElementPointerEntered event is triggered as the user moves their mouse over an element. An instance of MapElementsLayerPointerEnteredEventArgs provides data for this event.

MapElementPointerExited MapElementPointerExited MapElementPointerExited

Occurs when a pointer moves out of the bounding area of a MapElement on a MapElementsLayer.

public : event TypedEventHandler MapElementPointerExited<MapElementsLayer, MapElementsLayerPointerExitedEventArgs>
public event TypedEventHandler MapElementPointerExited<MapElementsLayer, MapElementsLayerPointerExitedEventArgs>
Public Event TypedEventHandler MapElementPointerExited( Of ( Of MapElementsLayer ), ( Of MapElementsLayerPointerExitedEventArgs ))

Remarks

Mouse interactions are received, processed, and managed as pointers. The MapElementPointerExited event is triggered as the user moves their mouse out from over an element. An instance of MapElementsLayerPointerExitedEventArgs provides data for this event.

Methods

ClearValue(DependencyProperty) ClearValue(DependencyProperty) ClearValue(DependencyProperty)

Inherited from DependencyObject

GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty)

Inherited from DependencyObject

GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty)

Inherited from DependencyObject

ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty)

Inherited from DependencyObject

RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)

Inherited from DependencyObject

SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object)

Inherited from DependencyObject

UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64)

Inherited from DependencyObject