TextRange
Class
Immutable pairing of a start and end TextPosition defining a contiguous span of text within a fixed document.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Text
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
C#
public class TextRange
Inheritance: objectTextRange
Methods
Generates a hash code combining the start and end positions.
Properties
Gets an empty range with no defined start or end positions.
C#
public static TextRange Empty { get; }
The empty text range.
Gets the ending TextPosition of the range.
C#
public TextPosition EndPosition { get; }
The end position.
Indicates whether the range is empty (both start and end are undefined).
C#
public bool IsEmpty { get; }
Is empty.
Gets the starting TextPosition of the range.
C#
public TextPosition StartPosition { get; }
The start position.