/// <summary> /// Turn model /// </summary> /// <param name="Chosen slider"></param> /// <param name="e"></param> private void angle_ValueChanged(object sender, System.Windows.RoutedPropertyChangedEventArgs <double> e) { if (((Slider)sender).IsEnabled) { var selectedModel = (string)lvScene.SelectedItem; var angleX = (double)slXangle.Value; var angleY = (double)slYangle.Value; var angleZ = (double)slZangle.Value; myScene.Rotate(selectedModel, angleX, angleY, angleZ); } }