I need to force uppercase input inside AutoCompleteBox in Silverlight 4 app.
In TextBox this could be done by replacing Text property on KeyDown event like:
control.Text += enteredChar;
control.Select(control.Text.Length, 0); //To maintain caret position
However AutoCompleteBox doesn’t provide text selection function, and I found no way to move caret to string end.
You need to change AutoCompleteBox template and add UpperCaseBehavior to the TextBox within:
where UpperCaseBehavior is: