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