public void PrepareEditingControlForEdit(bool selectAll) { if (selectAll) { InnerTextBox.SelectAll(); } else { // Do not select all the text, but // position the caret at the end of the text InnerTextBox.SelectionStart = InnerTextBox.Text.Length; } }
public void SelectAll() { InnerTextBox.SelectAll(); }