This commit is contained in:
DinoChan committed 2020-04-01 15:54:53 +08:00
1 parent a8ecf3f79f
commit 110ac1d36d
1 file changed
+5 -1
@@ -40,7 +40,11 @@ namespace HandyControl.Controls
Info = (double)e.NewValue
});
protected virtual void OnValueChanged(FunctionEventArgs<double> e) => RaiseEvent(e);
protected virtual void OnValueChanged(FunctionEventArgs<double> e)
{
RaiseEvent(e);
UpdateItems();
}
public static readonly DependencyProperty TextProperty = DependencyProperty.Register(
"Text", typeof(string), typeof(Rate), new PropertyMetadata(default(string)));