MapControl.GetLocation(DependencyObject) MapControl.GetLocation(DependencyObject) MapControl.GetLocation(DependencyObject) MapControl.GetLocation(DependencyObject) Method

Definition

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 element) const;
public static Geopoint GetLocation(DependencyObject element)
Public Shared Function GetLocation(element As DependencyObject) As Geopoint

Parameters

element
DependencyObject 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.

See also