Hi, I'd like the default windows system sound to play when a user attempts to enter text into a WPF TextBox which has already reached it's MaxLength value. How is this possible?
views:
167answers:
1
A:
I'm not used to sound playing in WPF, but I suggest you to suscribe to the KeyDown event of your textbox, and test the number of characters in the textbox against its maximal capacity.
Aurélien Ribon
2010-03-16 19:36:16