Jaa


MapControl.SetLocation(DependencyObject, Geopoint) Method

Definition

Sets the value of the MapControl.Location XAML attached property on the specified child element of a MapControl. The location is the geographic location on the MapControl at which the MapControl.NormalizedAnchorPoint of the child element is positioned.

public:
 static void SetLocation(DependencyObject ^ element, Geopoint ^ value);
 static void SetLocation(DependencyObject const& element, Geopoint const& value);
public static void SetLocation(DependencyObject element, Geopoint value);
function setLocation(element, value)
Public Shared Sub SetLocation (element As DependencyObject, value As Geopoint)

Parameters

element
DependencyObject

The element on which to set the property value.

value
Geopoint

The value of the MapControl.Location XAML attached property to set on the specified child element of a MapControl.

Applies to

See also