ITextRangeProvider.AddToSelection 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. ]
Adds to the collection of highlighted text in a text container that supports multiple disjoint selections.
Assembly: System.Windows (in System.Windows.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | The text provider does not support multiple disjoint selections. |
Show: