TextBlock.SelectAll Method
Definition
Selects the entire contents in the TextBlock.
Equivalent WinUI method: Microsoft.UI.Xaml.Controls.TextBlock.SelectAll.
public:
virtual void SelectAll() = SelectAll;
void SelectAll();
public void SelectAll();
function 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).