In This Article

StyleRegistryClassificationTag Class

Provides a ClassificationTag implementation that uses an alternate IHighlightingStyleRegistry, and can be associated with some text range.

public class StyleRegistryClassificationTag : ClassificationTag, IClassificationTag, ITag, IHighlightingStyleRegistryProvider
Inheritance:
Object ClassificationTag Object
Implements:
IClassificationTag ITag IHighlightingStyleRegistryProvider

Constructors

StyleRegistryClassificationTag()

Initializes a new instance of the StyleRegistryClassificationTag class.

public StyleRegistryClassificationTag()

StyleRegistryClassificationTag(IClassificationType, IHighlightingStyleRegistry)

Initializes a new instance of the StyleRegistryClassificationTag class.

public StyleRegistryClassificationTag(IClassificationType classificationType, IHighlightingStyleRegistry highlightingStyleRegistry)
Parameter Type Description
classificationType IClassificationType

The IClassificationType associated with the tag.

highlightingStyleRegistry IHighlightingStyleRegistry

The custom IHighlightingStyleRegistry associated with this object.

Properties

HighlightingStyleRegistry

Gets or sets the custom IHighlightingStyleRegistry associated with this object.

public IHighlightingStyleRegistry HighlightingStyleRegistry { get; set; }

Property Value

IHighlightingStyleRegistry:

The custom IHighlightingStyleRegistry associated with this object.

Inherited Members