Class TaggedTextRange<T>
Represents a range of tagged text within a document model.
Inheritance
Namespace: Telerik.Windows.Documents.Model.Code
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class TaggedTextRange<T> : Object where T : ClassificationTag
Type Parameters
T
|
Constructors
TaggedTextRange(T, DocumentPosition, DocumentPosition)
Initializes a new instance of the TaggedTextRange<T> class.
Declaration
public TaggedTextRange(T tag, DocumentPosition start, DocumentPosition end)
Parameters
T
tag
The tag associated with the text range. |
DocumentPosition
start
The starting position of the tagged text range. |
DocumentPosition
end
The end position of the tagged text range. |
Properties
End
Gets the end position of the tagged text range.
Declaration
public DocumentPosition End { get; set; }
Property Value
DocumentPosition
|
Start
Gets the starting position of the tagged text range.
Declaration
public DocumentPosition Start { get; set; }
Property Value
DocumentPosition
|
Tag
Represents a range of tagged text within a document. This class provides functionality for manipulating and accessing tagged text elements.
Declaration
public T Tag { get; }
Property Value
T
|