Exception | Description |
---|---|
System.ArgumentException | Scale can only be set in combination with Center. |
public void EnableViewLinking() { //Get the active map view. var mapView = MapView.Active; if (mapView == null) return; //Set the view linking mode to Center and Scale. MapView.LinkMode = LinkMode.Center | LinkMode.Scale; }
Target Platforms: Windows 10, Windows 8.1