ClassTextRange
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:
public class TextRange
Inheritance: objectTextRange
Properties
Empty
Gets an empty range with no defined start or end positions.
Declaration
public static TextRange Empty { get; }
Property Value
The empty text range.
EndPosition
Gets the ending TextPosition of the range.
Declaration
public TextPosition EndPosition { get; }
Property Value
The end position.
IsEmpty
Indicates whether the range is empty (both start and end are undefined).
StartPosition
Gets the starting TextPosition of the range.
Declaration
public TextPosition StartPosition { get; }
Property Value
The start position.
Methods
Equals(object)
Determines whether another object represents a range with identical start and end positions.
GetHashCode()
Generates a hash code combining the start and end positions.
Declaration
public override int GetHashCode()
Returns
A hash code for the current object.
Overrides