What would be the best way to make everything uppercase? So even if the user types in lower case, it gets converted to upper case.
Would I do it in the DocumentContentChanged and move the cursor around? Or is there an easier way?
1 Answer, 1 is accepted
0
Iva Toteva
Telerik team
answered on 17 Jun 2011, 04:55 PM
Hello Dan Parker,
Unfortunately, you cannot convert the text to upper case while the typing occurs. The solution would have been to handle the PreviewKeyDown event and check if Shift is pressed and CapsLock is on. You can find out about the Shift, but the CapsLock's state is out of reach.
The other approach - handling the DocumentContentChanged event will not work, as it is fired with some delay.
All the best,
Iva
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items