* UITextBox: MaximumEnabled,MinimumEnabled代替HasMaximum,HasMinimum,因为总有人找不到
This commit is contained in:
parent
07dd22a65f
commit
b2e7f80998
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -194,10 +194,26 @@ namespace Sunny.UI
|
|||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[DefaultValue(false)]
|
||||||
|
[Description("是否判断最大值显示"), Category("SunnyUI")]
|
||||||
|
public bool MaximumEnabled
|
||||||
|
{
|
||||||
|
get => HasMaximum;
|
||||||
|
set => HasMaximum = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
[DefaultValue(false)]
|
||||||
|
[Description("是否判断最小值显示"), Category("SunnyUI")]
|
||||||
|
public bool MinimumEnabled
|
||||||
|
{
|
||||||
|
get => HasMinimum;
|
||||||
|
set => HasMinimum = value;
|
||||||
|
}
|
||||||
|
|
||||||
private bool hasMaximum;
|
private bool hasMaximum;
|
||||||
private bool hasMinimum;
|
private bool hasMinimum;
|
||||||
|
|
||||||
[DefaultValue(false)]
|
[DefaultValue(false), Browsable(false)]
|
||||||
[Description("检查最大值"), Category("SunnyUI")]
|
[Description("检查最大值"), Category("SunnyUI")]
|
||||||
public bool HasMaximum
|
public bool HasMaximum
|
||||||
{
|
{
|
||||||
@ -214,7 +230,7 @@ namespace Sunny.UI
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[DefaultValue(false)]
|
[DefaultValue(false), Browsable(false)]
|
||||||
[Description("检查最小值"), Category("SunnyUI")]
|
[Description("检查最小值"), Category("SunnyUI")]
|
||||||
public bool HasMinimum
|
public bool HasMinimum
|
||||||
{
|
{
|
||||||
|
@ -188,10 +188,26 @@ namespace Sunny.UI
|
|||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[DefaultValue(false)]
|
||||||
|
[Description("是否判断最大值显示"), Category("SunnyUI")]
|
||||||
|
public bool MaximumEnabled
|
||||||
|
{
|
||||||
|
get => HasMaximum;
|
||||||
|
set => HasMaximum = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
[DefaultValue(false)]
|
||||||
|
[Description("是否判断最小值显示"), Category("SunnyUI")]
|
||||||
|
public bool MinimumEnabled
|
||||||
|
{
|
||||||
|
get => HasMinimum;
|
||||||
|
set => HasMinimum = value;
|
||||||
|
}
|
||||||
|
|
||||||
private bool hasMaximum;
|
private bool hasMaximum;
|
||||||
private bool hasMinimum;
|
private bool hasMinimum;
|
||||||
|
|
||||||
[DefaultValue(false)]
|
[DefaultValue(false), Browsable(false)]
|
||||||
[Description("检查最大值"), Category("SunnyUI")]
|
[Description("检查最大值"), Category("SunnyUI")]
|
||||||
public bool HasMaximum
|
public bool HasMaximum
|
||||||
{
|
{
|
||||||
@ -208,7 +224,7 @@ namespace Sunny.UI
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[DefaultValue(false)]
|
[DefaultValue(false), Browsable(false)]
|
||||||
[Description("检查最小值"), Category("SunnyUI")]
|
[Description("检查最小值"), Category("SunnyUI")]
|
||||||
public bool HasMinimum
|
public bool HasMinimum
|
||||||
{
|
{
|
||||||
|
@ -475,13 +475,29 @@ namespace Sunny.UI
|
|||||||
|
|
||||||
[DefaultValue(false)]
|
[DefaultValue(false)]
|
||||||
[Description("是否判断最大值显示"), Category("SunnyUI")]
|
[Description("是否判断最大值显示"), Category("SunnyUI")]
|
||||||
|
public bool MaximumEnabled
|
||||||
|
{
|
||||||
|
get => HasMaximum;
|
||||||
|
set => HasMaximum = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
[DefaultValue(false)]
|
||||||
|
[Description("是否判断最小值显示"), Category("SunnyUI")]
|
||||||
|
public bool MinimumEnabled
|
||||||
|
{
|
||||||
|
get => HasMinimum;
|
||||||
|
set => HasMinimum = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
[DefaultValue(false), Browsable(false)]
|
||||||
|
[Description("是否判断最大值显示"), Category("SunnyUI")]
|
||||||
public bool HasMaximum
|
public bool HasMaximum
|
||||||
{
|
{
|
||||||
get => edit.HasMaxValue;
|
get => edit.HasMaxValue;
|
||||||
set => edit.HasMaxValue = value;
|
set => edit.HasMaxValue = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
[DefaultValue(false)]
|
[DefaultValue(false), Browsable(false)]
|
||||||
[Description("是否判断最小值显示"), Category("SunnyUI")]
|
[Description("是否判断最小值显示"), Category("SunnyUI")]
|
||||||
public bool HasMinimum
|
public bool HasMinimum
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user