Relative Content

Tag Archive for c#wpftextboxfocusselection

WPF TextBox select content on mouse click

For WPF TextBox I need to select all content of it in case of mouse click on it (in “real life” it will be touch on touchpad monitor).
For test I created simple project and check the solutions on Stackoverflow. I found several cases but they doesn’t work. Please help me? My project on Github: https://github.com/cheffcook/CustomTextBox2