I want to highlight selected text in a wpf textbox while the textbox is not focused. In my application, my textbox never gets focus, and every key input is done manually. >
Another alternative:
textBoxName.SelectAll();