MapElementsLayer MapElementsLayer MapElementsLayer MapElementsLayer Class


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

public : sealed class MapElementsLayer : MapLayer
struct winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer : MapLayer
public sealed class MapElementsLayer : MapLayer
Public NotInheritable Class MapElementsLayer Inherits MapLayer

Windows 10 requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)


MapElementsLayer() MapElementsLayer() MapElementsLayer() MapElementsLayer()

Creates a MapElementsLayer instance.


Dispatcher Dispatcher Dispatcher Dispatcher

Gets the CoreDispatcher that this object is associated with. The CoreDispatcher represents a facility that can access the DependencyObject on the UI thread even if the code is initiated by a non-UI thread.

(Inherited from DependencyObject)
MapElements MapElements MapElements MapElements

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

MapElementsProperty MapElementsProperty MapElementsProperty MapElementsProperty

Identifies the MapElements dependency property.

MapTabIndex MapTabIndex MapTabIndex MapTabIndex

Gets or sets a value that determines the order in which objects of the MapLayer receive focus when the user navigates through those elements by pressing the Tab key.

(Inherited from MapLayer)
MapTabIndexProperty MapTabIndexProperty MapTabIndexProperty MapTabIndexProperty

Identifies the MapTagIndex dependency property.

(Inherited from MapLayer)
Visible Visible Visible Visible

Gets or sets a value that indicates whether the MapLayer is visible on the MapControl.

(Inherited from MapLayer)
VisibleProperty VisibleProperty VisibleProperty VisibleProperty

Identifies the Visible dependency property.

(Inherited from MapLayer)
ZIndex ZIndex ZIndex ZIndex

Gets or sets the z-index of the MapLayer. A MapLayer with a higher z-index is displayed on top of a MapLayer with a lower z-index.

(Inherited from MapLayer)
ZIndexProperty ZIndexProperty ZIndexProperty ZIndexProperty

Identifies the ZIndex dependency property.

(Inherited from MapLayer)


MapContextRequested MapContextRequested MapContextRequested MapContextRequested

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

MapElementClick MapElementClick MapElementClick MapElementClick

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

MapElementPointerEntered MapElementPointerEntered MapElementPointerEntered MapElementPointerEntered

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

MapElementPointerExited MapElementPointerExited MapElementPointerExited MapElementPointerExited

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


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

Clears the local value of a dependency property.

(Inherited from DependencyObject)
GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty)

Returns any base value established for a dependency property, which would apply in cases where an animation is not active.

(Inherited from DependencyObject)
GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty)

Returns the current effective value of a dependency property from a DependencyObject.

(Inherited from DependencyObject)
ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty)

Returns the local value of a dependency property, if a local value is set.

(Inherited from DependencyObject)
RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)

Registers a notification function for listening to changes to a specific DependencyProperty on this DependencyObject instance.

(Inherited from DependencyObject)
SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object)

Sets the local value of a dependency property on a DependencyObject.

(Inherited from DependencyObject)
UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64)

Cancels a change notification that was previously registered by calling RegisterPropertyChangedCallback.

(Inherited from DependencyObject)