In many scenarios, when user navigate to textbox, they want to directly enter a text rather than remove the current text only start typing the new text. In short this is what I want to achieve
Initially I thought can use SelectAll() method to do that
However, it doesn’t achieve what I want. The textbox look like below.
In order to achieve the solution, need to add another line of code which is Focus().
Now the cursor will point to the textbox and the text has been selected. User can directly enter any text they want without erase the existing text.
Hope it helps.