MapControl.GetLocation(DependencyObject) 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.
Gets the value of the MapControl.Location XAML attached property from 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 Geopoint ^ GetLocation(DependencyObject ^ element);
static Geopoint GetLocation(DependencyObject const& element);
public static Geopoint GetLocation(DependencyObject element);
function getLocation(element)
Public Shared Function GetLocation (element As DependencyObject) As Geopoint
Parameters
- element
- DependencyObject
The element from which to read the property value.
Returns
The value of the MapControl.Location XAML attached property on the specified child element of a MapControl.