The TextSelection type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Background |
Gets or sets the brush used to fill the background of the selected text.
| |
| End |
Get the position that marks the end of the text range.
(Inherited from TextRange.) | |
| Foreground |
Gets or sets the brush used to fill the foreground of the selected text.
| |
| IsEmpty |
Gets a value indicating whether the text range is empty.
(Inherited from TextRange.) | |
| IsEnabled |
Gets or sets a value indicating whether text selection is enabled.
| |
| Max |
Gets the larger of the start and end point.
(Inherited from TextRange.) | |
| Min |
Gets the smaller of the start and end point.
(Inherited from TextRange.) | |
| Start |
Gets the position that marks the beginning of the text range.
(Inherited from TextRange.) | |
| Text |
Gets the plain text contents of the current selection.
| |
| TextContainer |
Gets or sets the text container for this selection instance.
|