Share via


MapLayer.AddChild Method (UIElement, LocationRect)

 

Adds a UIElement to the map layer at the specified location rectangle.

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

Syntax

public void AddChild(
    UIElement element,
    LocationRect locationRect
)
public:
void AddChild(
    UIElement^ element,
    LocationRect^ locationRect
)
member AddChild : 
        element:UIElement *
        locationRect:LocationRect -> unit
Public Sub AddChild (
    element As UIElement,
    locationRect As LocationRect
)

Parameters

See Also

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

Return to top