TextBlock.SelectAll Method

Definition

Selects the entire contents in the TextBlock.

public:
 virtual void SelectAll() = SelectAll;
void SelectAll();
public void SelectAll();
Public Sub SelectAll ()

Remarks

Important

If using a keyboard for text selection within a TextBlock, the user must first activate Caret Browsing (with the app in the foreground, press F7).

Applies to