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); }
private void OnUpperValueChanged() { UpperValueChanged?.Invoke(this, EventArgs.Empty); }
private void UpperSlider_ValueChanged(object sender, RoutedPropertyChangedEventArgs <double> e) { UpdateSelectionRangeMargin(); UpperValueChanged?.Invoke(this, e); }
public void OnUpperValueChanged(float value) { UpperValue = value; UpperValueChanged?.Invoke(this, EventArgs.Empty); }
protected virtual void OnUpperValueChanged(double newUpperValue) { InvalidateArrange(); UpperValueChanged?.Invoke(this, EventArgs.Empty); }