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.
If you want to remove the Focus
from the TextBox
after 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.