private void Initialize() { // Assign a new map to the MapView MyMapView.Map = new Map(); // Set basemap titles as a items source basemapChooser.ItemsSource = titles; // Show the first basemap in the list basemapChooser.SelectedIndex = 0; }