Click or drag to resize
TextSelection Class
Represents text selection.
Inheritance Hierarchy
SystemObject
  Telerik.Windows.Documents.Fixed.SelectionTextSelection

Namespace: Telerik.Windows.Documents.Fixed.Selection
Assembly: Telerik.Windows.Documents.Fixed (in Telerik.Windows.Documents.Fixed.dll) Version: 2017.2.607.40 (2017.2.607.40)
Syntax
public class TextSelection

The TextSelection type exposes the following members.

Methods
  NameDescription
Public methodClear
Clears the selection.
Public methodGetSelectedText
Gets the selected text.
Public methodGetSelectedTextAsync
Gets the selected text async.
Public methodGetSelectionGeometry
Gets the selection geometry for given page.
Public methodSelectAll
Selects the whole document.
Public methodSetSelection
Sets the selection.
Public methodSetSelectionEnd
Sets the selection end.
Public methodSetSelectionStart
Sets the selection start.
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
Properties
  NameDescription
Public propertyEndPosition
Gets the end position of the selection.
Public propertyIsEmpty
Checks if the selection is empty.
Public propertyStartPosition
Gets the start position of the selection.
Top
Events
  NameDescription
Public eventSelectionChanged
Occurs when selection is changed.
Public eventSelectionChanging
Occurs when selection is changing.
Top
See Also