This project is read-only.
2
Vote

Gauge does not update when MaxValue is changed

description

The current version of the control does not update the UI when only the MaxValue has changed. To fix this, you should add the call to _OnGaugeChanged inside your Dependency-Property in WpfGauge.xaml.cs.

Possible solution could be:
public static DependencyProperty MaxValueProperty =
            DependencyProperty.Register("MaxValue", typeof(double), typeof(Gauge), new PropertyMetadata(double.NegativeInfinity, OnGaugeChanged));

comments