Do you know, how can I remove focus from UIElemnent programatically? The situation is: I need to remove focus from TextBox, when I pressed enter. How to handle key pressing I know. Please help me to remove focus from UIElement in Silverlight.
Do you know, how can I remove focus from UIElemnent programatically? The situation is:
Share
If you want to remove the
Focusfrom theTextBoxafter hitting Enter you can call the Focus() method of another Control that you want to focus afterwards.I think you have no other option than focusing another Control, cause you can´t remove the focus completely.