Can I make the maximum value of a NumericUpDown control unlimited instead of specifying a value in its Maximum property?

Jonhston Hirsh picture Jonhston Hirsh · May 5, 2009 · Viewed 16.9k times · Source

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?

Answer

stevehipwell picture stevehipwell · May 5, 2009

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