Show / Hide Table of Contents

Method SetViewOverlayAnchor

SetViewOverlayAnchor(FrameworkElement, MapPoint)

Sets the value of the ViewOverlayAnchor XAML attached property on the specified FrameworkElement.

Declaration
public static void SetViewOverlayAnchor(FrameworkElement element, MapPoint anchor)
Parameters
Type Name Description
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
IViewOverlay

Applies to

Platforms and versions
TargetVersions
.NET 6.0 Windows100.13 - 200.2
.NET Framework100.0 - 200.2
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
In This Article
Back to top Copyright © 2022 Esri.