Method SetViewOverlayAnchor
SetViewOverlayAnchor(FrameworkElement, MapPoint)
Sets the value of the ViewOverlayAnchor XAML attached property on the specified Microsoft.UI.Xaml.FrameworkElement.
Declaration
public static void SetViewOverlayAnchor(FrameworkElement element, MapPoint anchor)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.FrameworkElement | element | The target element on which to set the ViewOverlayAnchor XAML attached property. |
MapPoint | anchor | The property value to set. |
Remarks
The SpatialReference property of the given MapPoint must be set to correctly position the overlay.
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Windows | 200.0 - 200.6 |