MapLayer.AddChild Method (UIElement, Location, PositionOrigin)

Bing
 

Adds a UIElement to the map layer at the specified location using the given position origin.

Namespace:   Microsoft.Maps.MapControl.WPF
Assembly:  Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)

public void AddChild(
	UIElement element,
	Location location,
	PositionOrigin origin
)

Parameters

element
Type: System.Windows.UIElement

The UIElement to add.

location
Type: Microsoft.Maps.MapControl.WPF.Location

The location at which to add the UIElement.

origin
Type: Microsoft.Maps.MapControl.WPF.PositionOrigin

The position origin to use.

Return to top
Show: