MapLayer.AddChild Method (UIElement, Location, Point)
Adds a UIElement to the map layer at the specified location using the given pixel offset.
Namespace: Microsoft.Maps.MapControl.WPF
Assembly: Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)
Syntax
public void AddChild(
UIElement element,
Location location,
Point offset
)
public:
void AddChild(
UIElement^ element,
Location^ location,
Point offset
)
member AddChild :
element:UIElement *
location:Location *
offset:Point -> unit
Public Sub AddChild (
element As UIElement,
location As Location,
offset As Point
)
Parameters
element
Type: System.Windows.UIElementThe UIElement to add.
location
Type: Microsoft.Maps.MapControl.WPF.LocationThe location at which to add the UIElement.
offset
Type: System.Windows.PointThe pixel offset to use.
See Also
AddChild Overload
MapLayer Class
Microsoft.Maps.MapControl.WPF Namespace
Return to top