private void UpperSlider_ValueChanged(object sender, RoutedPropertyChangedEventArgs <double> e)
        {
            double old = UpperSlider.Value;

            UpperSlider.Value = Math.Max(UpperSlider.Value, LowerSlider.Value);
            UpperValueChanged?.Invoke(this, old, UpperSlider.Value);
        }
 protected virtual void OnUpperValueChanged()
 {
     UpperValueChanged?.Invoke(this, EventArgs.Empty);
 }
Пример #3
0
 private void OnUpperValueChanged()
 {
     UpperValueChanged?.Invoke(this, EventArgs.Empty);
 }
 private void UpperSlider_ValueChanged(object sender, RoutedPropertyChangedEventArgs <double> e)
 {
     UpdateSelectionRangeMargin();
     UpperValueChanged?.Invoke(this, e);
 }
Пример #5
0
 public void OnUpperValueChanged(float value)
 {
     UpperValue = value;
     UpperValueChanged?.Invoke(this, EventArgs.Empty);
 }
Пример #6
0
 protected virtual void OnUpperValueChanged(double newUpperValue)
 {
     InvalidateArrange();
     UpperValueChanged?.Invoke(this, EventArgs.Empty);
 }