MapControl.View Property
Gets or sets the View that is displayed by the MapControl.
Syntax
public View View { get; set; }
Property Value
Remarks
When a view is attached to the control, the control will first create an internal window drawable connected to the control window, and replace the drawable of the view. Most of the properties of the original drawable will be copied to the new one. When the view is later detached, the original drawable of the view will be restored.
If you get errors about views being disposed while trying to swap between views in a MapControl, it could be the case that the MapControls have ownership of your views while you'd like the application to own your views with ViewOwnership = Application. You might also want to set View.UpdateEnabled = false before switching views.
Platforms
Windows, Linux, Android