Closed tsctsc6 closed 2 months ago
When using RangeAttribute, if max value greater than or equal to 7.9296875E+28, the PropertyGrid show not thing. For example, if one of the properties of my model class
[Range(0, 7.9296875E+28, ErrorMessage = "单价大于0")] public double UnitPrice { get; set; } = 0;
the PropertyGrid show not thing.
Avalonia.PropertyGrid version: 11.1.1.1 Avalonia version: 11.1.1
avalonia内部使用的数值是Decimal,对于这种类型来说,7.9296875E+28太大了。
I see.
When using RangeAttribute, if max value greater than or equal to 7.9296875E+28, the PropertyGrid show not thing. For example, if one of the properties of my model class
the PropertyGrid show not thing.
Avalonia.PropertyGrid version: 11.1.1.1 Avalonia version: 11.1.1