ClassTaggersRegistry
Class
Represents a registry for all taggers.
Definition
Namespace:Telerik.WinForms.SyntaxEditor.Core.Tagging
Assembly:Telerik.WinControls.SyntaxEditor.dll
Syntax:
cs-api-definition
public class TaggersRegistry
Inheritance: objectTaggersRegistry
Constructors
TaggersRegistry(ITextDocumentEditor)
Initializes a new instance of the TaggersRegistry class.
Declaration
cs-api-definition
public TaggersRegistry(ITextDocumentEditor editor)
Parameters
editor
Methods
GetTagger<T>()
Gets a particular tagger by type.
IsTaggerRegistered<T>(ITagger<T>)
Gets a value indicating whether the tagger is already registered.
RegisterTagger<T>(ITagger<T>)
Registers a tagger instance.
Declaration
cs-api-definition
public void RegisterTagger<T>(ITagger<T> tagger) where T : ITag
Parameters
tagger
ITagger<T>
UnregisterTagger<T>(ITagger<T>)
Unregisters a tagger instance.
Declaration
cs-api-definition
public void UnregisterTagger<T>(ITagger<T> tagger) where T : ITag
Parameters
tagger
ITagger<T>