我可以使NumericUpDown控件的最大值不受限制,而不是在其Maximum属性中指定值吗? [英] Can I make the maximum value of a NumericUpDown control unlimited instead of specifying a value in its Maximum property?

查看:74
本文介绍了我可以使NumericUpDown控件的最大值不受限制,而不是在其Maximum属性中指定值吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正如标题所述,有没有办法使NumericUpDown控件的最大值不受限制,而不必为其Maximum属性指定一个特定值?

As the title says, is there a way to make the maximum value of a NumericUpDown control unlimited instead of having to specify a specific value its the Maximum property?

推荐答案

将NumericUpDown Maximum属性设置为它代表的数据类型的MaxValue属性。

Set the NumericUpDown Maximum property to the MaxValue property of the data type it is representing.

这篇关于我可以使NumericUpDown控件的最大值不受限制,而不是在其Maximum属性中指定值吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆