Textbox validation in wpf
I am trying to validate a textbox to enter only numbers and set maximum and minimum value in wpf. I want to do it with the dependency logic.... Can anyon开发者_如何转开发e help me with some sample code or project for that?
This article on binding validation should get you started. The sample code implements almost exactly what you want. And here is a link to the entire project, in case you want to download it.
精彩评论