Share via


MapLayer.AddChild Method (UIElement, Location, PositionOrigin)

 

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)

Syntax

public void AddChild(
    UIElement element,
    Location location,
    PositionOrigin origin
)
public:
void AddChild(
    UIElement^ element,
    Location^ location,
    PositionOrigin origin
)
member AddChild : 
        element:UIElement *
        location:Location *
        origin:PositionOrigin -> unit
Public Sub AddChild (
    element As UIElement,
    location As Location,
    origin As PositionOrigin
)

Parameters

See Also

AddChild Overload
MapLayer Class
Microsoft.Maps.MapControl.WPF Namespace

Return to top