private void TempSlider_ValueChanged(object sender, RangeBaseValueChangedEventArgs e) { Temperature = TempSlider.Value; }