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
element
Type: System.Windows.UIElementThe UIElement to add.
locationRect
Type: Microsoft.Maps.MapControl.WPF.LocationRectThe location rectangle at which to add the UIElement.
See Also
AddChild Overload
MapLayer Class
Microsoft.Maps.MapControl.WPF Namespace
Return to top