Class SelectionRange
Represents one continuous range of selected document elements, part of DocumentSelection.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Selection
Assembly: Telerik.Windows.Documents.dll
Syntax
public class SelectionRange
Constructors
SelectionRange()
Properties
EndPosition
Gets or sets the position at which the range ends.
Declaration
public DocumentPosition EndPosition { get; set; }
Property Value
DocumentPosition
The end position. |
IsEmpty
Gets a value indicating whether the range is empty.
Declaration
public bool IsEmpty { get; }
Property Value
System.Boolean
|
IsReversed
Declaration
public bool IsReversed { get; }
Property Value
System.Boolean
|
IsValid
Declaration
public bool IsValid { get; }
Property Value
System.Boolean
|
RangeType
Gets the type of the range.
Declaration
public SelectionRangeType RangeType { get; }
Property Value
SelectionRangeType
The type of the range. |
StartPosition
Gets or sets the position from which the range starts.
Declaration
public DocumentPosition StartPosition { get; set; }
Property Value
DocumentPosition
The start position. |
Methods
ContainsPosition(DocumentPosition)
Determines whether the range contains a specified DocumentPosition.
Declaration
public bool ContainsPosition(DocumentPosition position)
Parameters
DocumentPosition
position
The position to check. |
Returns
System.Boolean
|