MapControl.SetLocation(DependencyObject, Geopoint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.