TX Text Control .NET for WPF

SelectAll Method

Method|Introduced in 12.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.Server.dll from the private NuGet feed or Text Control Offline Packages

Description

Selects all text in the control.

Syntax

public void SelectAll();

Examples

The following example selects all document content. The created object is then available to the surrounding document workflow.

textControl.SelectAll();
Console.WriteLine("Server Text Control is ready for use.");