Select Method
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Selects text within the Text Control.
Syntax
public void Select(int start, int length);Public Sub [Select](start As Integer, length As Integer)Parameters
| Parameter | Description |
|---|---|
| start | Specifies the selection's start position. |
| length | Specifies the number of selected characters. |
Examples
The following example selects the requested part of the text control. The created object is then available to the surrounding document workflow.
textControl.Select(1, 1);
Console.WriteLine("Text Control is ready for use.");textControl.Select(1, 1)
Console.WriteLine("Text Control is ready for use.")