Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
MapControl.Layers Property
Definition
- Namespace:
- Windows.UI.Xaml.Controls.Maps
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the collection of MapLayer objects that are children of the MapControl.
public:
property IVector<MapLayer ^> ^ Layers { IVector<MapLayer ^> ^ get(); void set(IVector<MapLayer ^> ^ value); };
IVector<MapLayer> Layers();
void Layers(IVector<MapLayer> value);
public IList<MapLayer> Layers { get; set; }
var iVector = mapControl.layers;
mapControl.layers = iVector;
Public Property Layers As IList(Of MapLayer)
Property Value
The collection of MapLayer objects that are children of the MapControl.
Windows requirements
| Requirements | Description |
|---|---|
| Device family |
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced in v5.0)
|
Applies to
Feedback
Was this page helpful?
