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

            LowerSlider.Value = Math.Min(UpperSlider.Value, LowerSlider.Value);
            LowerValueChanged?.Invoke(this, old, LowerSlider.Value);
        }
 protected virtual void OnLowerValueChanged()
 {
     LowerValueChanged?.Invoke(this, EventArgs.Empty);
 }
예제 #3
0
 private void OnLowerValueChanged()
 {
     LowerValueChanged?.Invoke(this, EventArgs.Empty);
 }
 private void LowerSlider_ValueChanged(object sender, RoutedPropertyChangedEventArgs <double> e)
 {
     UpdateSelectionRangeMargin();
     LowerValueChanged?.Invoke(this, e);
 }
예제 #5
0
 public void OnLowerValueChanged(float value)
 {
     LowerValue = value;
     LowerValueChanged?.Invoke(this, EventArgs.Empty);
 }
예제 #6
0
 protected virtual void OnLowerValueChanged(double newLowerValue)
 {
     InvalidateArrange();
     LowerValueChanged?.Invoke(this, EventArgs.Empty);
 }