MapElementsLayer
MapElementsLayer
MapElementsLayer
MapElementsLayer
Class
Definition
Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prerelease APIs are identified by a Prerelease label.
[Contains prerelease APIs.]
Represents a collection of map elements to which you can bind data and manipulate independently of other map elements.
public : sealed class MapElementsLayer : MapLayer, IMapElementsLayerpublic sealed class MapElementsLayer : MapLayer, IMapElementsLayerPublic NotInheritable Class MapElementsLayer Inherits MapLayer Implements IMapElementsLayer// This API is not available in Javascript.
- Inheritance
-
MapElementsLayerMapElementsLayerMapElementsLayerMapElementsLayer
- Attributes
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
Inherited Members
Inherited methods
Inherited properties
Constructors
MapElementsLayer() MapElementsLayer() MapElementsLayer() MapElementsLayer()
Prerelease. Creates a MapElementsLayer instance.
public : MapElementsLayer()public MapElementsLayer()Public Sub New()// This API is not available in Javascript.
Properties
MapElements MapElements MapElements MapElements
Prerelease. 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>// This API is not available in Javascript.
- Value
- IVector<MapElement> IList<MapElement> IList<MapElement> IList<MapElement>
The collection of MapElement objects that are children of the MapElementsLayer.
MapElementsProperty MapElementsProperty MapElementsProperty MapElementsProperty
Prerelease. Identifies the MapElements dependency property.
public : static DependencyProperty MapElementsProperty { get; }public static DependencyProperty MapElementsProperty { get; }Public Static ReadOnly Property MapElementsProperty As DependencyProperty// This API is not available in Javascript.
The MapElements dependency property.
Events
MapContextRequested MapContextRequested MapContextRequested MapContextRequested
Prerelease. 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 MapContextRequested<MapElementsLayer, MapElementsLayerContextRequestedEventArgs>// This API is not available in Javascript.
MapElementClick MapElementClick MapElementClick MapElementClick
Prerelease. 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 MapElementClick<MapElementsLayer, MapElementsLayerClickEventArgs>// This API is not available in Javascript.
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 MapElementPointerEntered
Prerelease. 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 MapElementPointerEntered<MapElementsLayer, MapElementsLayerPointerEnteredEventArgs>// This API is not available in Javascript.
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 MapElementPointerExited
Prerelease. 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 MapElementPointerExited<MapElementsLayer, MapElementsLayerPointerExitedEventArgs>// This API is not available in Javascript.
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.