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); }
private void OnLowerValueChanged() { LowerValueChanged?.Invoke(this, EventArgs.Empty); }
private void LowerSlider_ValueChanged(object sender, RoutedPropertyChangedEventArgs <double> e) { UpdateSelectionRangeMargin(); LowerValueChanged?.Invoke(this, e); }
public void OnLowerValueChanged(float value) { LowerValue = value; LowerValueChanged?.Invoke(this, EventArgs.Empty); }
protected virtual void OnLowerValueChanged(double newLowerValue) { InvalidateArrange(); LowerValueChanged?.Invoke(this, EventArgs.Empty); }