private void MySlider_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e) { // Display the rotation value in the Label formatted nicely with degree symbol. MyLabel.Content = string.Format("{0:0}°",MySlider.Value); // Set the MapView rotation to that of the Slider. MyMapView.SetViewpointRotationAsync(e.NewValue); } }