Class
TaggerBase<T>

Represents the base class for taggers that operate on a specific type of data.

Definition

Namespace:Telerik.Windows.Documents.Model.Code

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Type Parameters:

T

Syntax:

cs-api-definition
public abstract class TaggerBase<T> : ITagger<T> where T : ClassificationTag

Inheritance: objectTaggerBase<T>

Derived Classes: RegexTagger

Implements: ITagger<T>

Constructors

TaggerBase()

Declaration

cs-api-definition
public TaggerBase()

Properties

Document

Represents the document associated with the tagger, providing access to the document's content and structure.

Declaration

cs-api-definition
public RadDocument Document { get; }

Property Value

RadDocument

Editor

Represents the editor component of the TaggerBase class, which is responsible for handling various editing operations.

Declaration

cs-api-definition
public IDocumentEditor Editor { get; protected set; }

Property Value

IDocumentEditor

Methods

GetTags(IDocumentEditor)

Retrieves the tags associated with the specified document editor.

Declaration

cs-api-definition
public abstract IEnumerable<TaggedTextRange<T>> GetTags(IDocumentEditor editor)

Parameters

editor

IDocumentEditor

The document editor from which to retrieve the tags.

Returns

IEnumerable<TaggedTextRange<T>>

A collection of tags associated with the specified document editor.

Implements ITagger<T>.GetTags(IDocumentEditor)