AutoSelectMode

References
public enum AutoSelectMode
Enumeration of the modes for auto selecting text.

Enum values

NameValueDescription
OnFocus0Selects the text when the control recieves focus, unless the user clicks at a point in the text with the I beam cursor.
Never1The text is never automatically selected. When the text of the control is set to a different value, the cursor usually will be at the end of the text input. The last selection of the control is also usually kept in this mode.
Always2Selects the text when the control recieves focus regardless of whether the user clicked at a point in the text, or the last selection. On macOS, if the user clicks and drags to select some text it will not select all text.