MapControl.Children MapControl.Children MapControl.Children MapControl.Children Property

Definition

Gets the collection of objects that are children of the MapControl.

public : IVector<DependencyObject> Children { get; }
IVector<DependencyObject> Children();
public IList<DependencyObject> Children { get; }
Public ReadOnly Property Children As IList<DependencyObject>

Property Value

IList<DependencyObject> IList<DependencyObject>

The collection of objects that are children of the MapControl.

Remarks

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.

See also