Merge pull request #354 from HandyOrg/pr/347

Pr/347
This commit is contained in:
NaBian authored and GitHub committed 2020-04-04 15:22:50 +08:00
commit d083df2b42
8 files changed
+199 -22

No files matched your search

@@ -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)));