1 parent
b5eea7c0a1
commit
371840d248
1 file changed
+1
-1
@@ -266,7 +266,7 @@ namespace HandyControl.Controls
|
|||||||
/// 最小值
|
/// 最小值
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static readonly DependencyProperty MinimumProperty = DependencyProperty.Register(
|
public static readonly DependencyProperty MinimumProperty = DependencyProperty.Register(
|
||||||
"Minimum", typeof(double), typeof(NumericUpDown), new PropertyMetadata(ValueBoxes.Double0Box, OnMinimumChanged, CoerceMinimum), ValidateHelper.IsInRangeOfDouble);
|
"Minimum", typeof(double), typeof(NumericUpDown), new PropertyMetadata(double.MinValue, OnMinimumChanged, CoerceMinimum), ValidateHelper.IsInRangeOfDouble);
|
||||||
|
|
||||||
private static void OnMinimumChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
|
private static void OnMinimumChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user