ITextRangeProvider.Select Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Highlights text in the text control that corresponds to the Start and End endpoints of the text range.
Assembly: System.Windows (in System.Windows.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | Text selection is not supported by the text control. |
If a degenerate text range is provided, the text insertion point moves to the Start endpoint of the text range.
Show: