fix #345
This commit is contained in:
1 parent
a8ecf3f79f
commit
110ac1d36d
1 file changed
+5
-1
@@ -40,7 +40,11 @@ namespace HandyControl.Controls
|
|||||||
Info = (double)e.NewValue
|
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(
|
public static readonly DependencyProperty TextProperty = DependencyProperty.Register(
|
||||||
"Text", typeof(string), typeof(Rate), new PropertyMetadata(default(string)));
|
"Text", typeof(string), typeof(Rate), new PropertyMetadata(default(string)));
|
||||||
|
|||||||
Reference in new issue
Block a user