private void SliderOnValueChanged(object sender, RoutedPropertyChangedEventArgs <double> routedPropertyChangedEventArgs) { Model.SetComponent(0, FirstSlider.Value); Model.SetComponent(1, SecondSlider.Value); Model.SetComponent(2, ThirdSlider.Value); }