How do you auto highlight text in a textbox control when the control gains focus.
In Windows Forms and WPF:
textbox.SelectionStart = 0; textbox.SelectionLength = textbox.Text.Length;
1.4m articles
1.4m replys
5 comments
57.0k users