rename OnMaximumValueChanged to OnMaximumChanged

This commit is contained in:
NaBian committed 2021-06-22 21:26:27 +08:00
1 parent 2a5d70e95b
commit 9f07f98d73
1 file changed
+2 -2
@@ -63,9 +63,9 @@ namespace HandyControl.Controls
}
public static readonly DependencyProperty MaximumProperty = DependencyProperty.Register(
"Maximum", typeof(int), typeof(Badge), new PropertyMetadata(ValueBoxes.Int99Box, OnMaximumValueChanged));
"Maximum", typeof(int), typeof(Badge), new PropertyMetadata(ValueBoxes.Int99Box, OnMaximumChanged));
private static void OnMaximumValueChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
private static void OnMaximumChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
var ctl = (Badge) d;
var v = ctl.Value;