private void MySlider_ValueChanged(object sender, ValueChangedEventArgs e) { // Display the rotation value in the Label formatted nicely with degree symbol. MyLabel.Text = $"{MySlider.Value:0}°"; // Set the MapView rotation to that of the Slider. MyMapView.SetViewpointRotationAsync(e.NewValue); }
private void MySlider_ValueChanged(object sender, RangeBaseValueChangedEventArgs e) { // Display the rotation value in the Label formatted nicely with degree symbol. MyTextBlock.Text = string.Format("{0:0}°", MySlider.Value); // Set the MapView rotation to that of the Slider. MyMapView.SetViewpointRotationAsync(e.NewValue); }
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); }
private void Handle_valuechanged(object sender, RoutedPropertyChangedEventArgs <double> e) { _ = MyMapView.SetViewpointRotationAsync(e.NewValue); }
private void Slider_ValueChanged(object sender, ValueChangedEventArgs e) { MyMapView.SetViewpointRotationAsync(e.NewValue); }
private void Slider_ValueChanged(object sender, Windows.UI.Xaml.Controls.Primitives.RangeBaseValueChangedEventArgs e) { _ = MyMapView.SetViewpointRotationAsync(e.NewValue); }