Class SelectionRange
Represents one continuous range of selected document elements, part of Document
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Documents.Selection
Assembly: Telerik.WinControls.RichTextEditor.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
Document The end position. |
IsEmpty
Gets a value indicating whether the range is empty.
Declaration
public bool IsEmpty { get; }
Property Value
System.
|
IsReversed
Declaration
public bool IsReversed { get; }
Property Value
System.
|
IsValid
Declaration
public bool IsValid { get; }
Property Value
System.
|
RangeType
Gets the type of the range.
Declaration
public SelectionRangeType RangeType { get; }
Property Value
Selection The type of the range. |
StartPosition
Gets or sets the position from which the range starts.
Declaration
public DocumentPosition StartPosition { get; set; }
Property Value
Document The start position. |
Methods
ContainsPosition(DocumentPosition)
Determines whether the range contains a specified Document
Declaration
public bool ContainsPosition(DocumentPosition position)
Parameters
Document The position to check. |
Returns
System.
|