Click here to Skip to main content
15,891,372 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Here I trying to validate textbox for getting mobile number in that the total digits was restricted to 10.,i.e(9999900000).If user enters more than 10 ,the popup or message should be displayed.
Pls post relevant codes it will be helpfull.
Posted

1 solution

Have a look at WPF Validation rules.
Validation in Windows Presentation Foundation[^]
http://stackoverflow.com/questions/19539492/wpf-textbox-validation-c-sharp[^]
Simple Validation in WPF[^]

A quick search at google might have given you the above results.
 
Share this answer
 
Comments
WPF_Mvvm 14-May-14 7:19am    
That helped me alot !! Thanks Praveen

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900