ArcGISRuntimeXamarin.Samples.MapRotation.MapRotation.MySlider_ValueChanged C# (CSharp) 메소드

MySlider_ValueChanged() 개인적인 메소드

private MySlider_ValueChanged ( object sender, ValueChangedEventArgs e ) : void
sender object
e ValueChangedEventArgs
리턴 void
        private void MySlider_ValueChanged(object sender, ValueChangedEventArgs e)
        {
            // Display the rotation value in the Label formatted nicely with degree symbol.
            MyLabel.Text = string.Format("{0:0}°", MySlider.Value);

            // Set the MapView rotation to that of the Slider.
            MyMapView.SetViewpointRotationAsync(e.NewValue);
        }
    }