示例#1
0
 public void SelectAll()
 {
     LinkTextBox.SelectAll();
 }
示例#2
0
 /// <summary>
 /// Sets focus to the text box and selects the current contents.
 /// </summary>
 private void InitializeLinkTextBox()
 {
     LinkTextBox.Focus(FocusState.Programmatic);
     LinkTextBox.SelectAll();
 }