-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.Maps.MapControl.Children |
winrt property |
Gets the collection of objects that are children of the MapControl.
The collection of objects that are children of the MapControl.
Display XAML user interface elements such as a Button, a HyperlinkButton, or a TextBlock by adding them as Children of the MapControl. You can also add them to the MapItemsControl, or bind the MapItemsControl to an item or a collection of items.
Alternately, to display pushpins, images, and shapes on the MapControl, add them to its MapElements collection.
For more info, see Display maps with 2D, 3D, and Streetside views.