Users of my application can enter values into TextBoxes. In some cases the values need to be restricted to a certain range, e.g. 0 to 1, or 1 to 50. In other cases they can only enter upto 13 or 20 characters depending.
Can I use Binding.StringFormat to enforce these ranges? If so,
- what do I need to specify to restrict values to a certain character length?
- what do I need to specify to restrict values to a certain range?
If not, what's the best way to implement this?