Click or drag to resize
DocumentSelection Class
Inheritance Hierarchy
SystemObject
  Telerik.Windows.Documents.SelectionDocumentSelection

Namespace: Telerik.Windows.Documents.Selection
Assembly: Telerik.Windows.Documents (in Telerik.Windows.Documents.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public class DocumentSelection

The DocumentSelection type exposes the following members.

Constructors
  NameDescription
Public methodDocumentSelection
Top
Methods
  NameDescription
Public methodAddSelectionEnd
Public methodAddSelectionStart
Public methodAddTableCellToSelection
Public methodAnchorSelectionPositions
Public methodBeginUpdate
Public methodBeginUpdate(Boolean) Obsolete.
Public methodClear
Public methodContainsAnnotationMarkersOfTypeT
Determines whether the selection contains annotation markers of type T.
Public methodCopySelectedDocumentElements(Boolean)
Public methodStatic memberCopySelectedDocumentElements(SelectionRange)
Public methodCreateDocumentFromSelection
Public methodEndUpdate
Public methodEndUpdate(Boolean) Obsolete.
Public methodGetAnnotationMarkersOfTypeT
Gets all annotation markers of type T in the selection.
Public methodGetFullSelectionGeometry
Public methodGetSelectedBoxes
Enumerates through all layout boxes corresponding to currently selected ranges
Public methodGetSelectedBoxesT
Enumerates through all layout boxes corresponding to currently selected ranges
Public methodGetSelectedParagraphs
Public methodGetSelectedSingleInline
Gets the selected Inline if it is the only inline selected, otherwise returns null. For example it is suitable to check if only an Image is selected.
Public methodGetSelectedText
Public methodGetVisibleSelectionGeometry
Protected methodOnSelectionChanged
Protected methodOnSelectionChanging
Public methodRemoveSelectionPositionsAnchor
Public methodSelectAll
Public methodSelectAnnotationRange
Public methodSelectTableColumn(TableCell)
Public methodSelectTableColumn(Table, Int32)
Public methodSelectTableRow
Public methodSetSelectionStart
Public methodToString (Overrides ObjectToString.)
Top
Properties
  NameDescription
Public propertyCanGetSelectedBoxes
Gets value indicating whether the selected boxes can be enumerated correctly.
Remarks
This method can return false when the selection is not valid during specific operation when the document is being edited.
Public propertyIsEmpty
Public propertyRanges
Top
Events
See Also