Method SetSelection
SetSelection(long, long)
Selects the text starting at the first position up to (but not including) the character at the last position.
public virtual void SetSelection(long from, long to)
Parameters
Remarks
If both parameters are equal to -1 all text in the control is selected.