Is your text block focused when calling the Select method?
The selection will not be displayed if it has no focus, but the general way for the text field to get focus is to click on it ... which deselects the text. This behavior may give the impression that it does not work.
A call to TextBox.Focus () after (or before) a call to Select () should fix it.
Bubblewrap
source share