rename OnMaximumValueChanged to OnMaximumChanged
This commit is contained in:
1 parent
2a5d70e95b
commit
9f07f98d73
1 file changed
+2
-2
@@ -63,9 +63,9 @@ namespace HandyControl.Controls
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static readonly DependencyProperty MaximumProperty = DependencyProperty.Register(
|
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 ctl = (Badge) d;
|
||||||
var v = ctl.Value;
|
var v = ctl.Value;
|
||||||
|
|||||||
Reference in new issue
Block a user