CurrentStatementIndicatorTag Class
Represents an IIndicatorTag that renders a current statement marker over a text range.
public class CurrentStatementIndicatorTag : IndicatorClassificationTagBase, IIndicatorTag, IClassificationTag, ITag
- Inheritance:
- object IndicatorTagBase IndicatorClassificationTagBase object
- Implements:
- IIndicatorTag IClassificationTag ITag
Constructors
CurrentStatementIndicatorTag()
Initializes an instance of the class.
public CurrentStatementIndicatorTag()
Properties
ClassificationType
Gets the IClassificationType associated with the tag.
public override IClassificationType ClassificationType { get; }
Property Value
- IClassificationType:
The IClassificationType associated with the tag.
Methods
DrawGlyph(TextViewDrawContext, ITextViewLine, TagSnapshotRange<IIndicatorTag>, Rectangle)
Draws the indicator's glyph in an editor view margin.
public override void DrawGlyph(TextViewDrawContext context, ITextViewLine viewLine, TagSnapshotRange<IIndicatorTag> tagRange, Rectangle bounds)
Parameter | Type | Description |
---|---|---|
context | TextViewDrawContext | The TextViewDrawContext to use for rendering. |
viewLine | ITextViewLine | The ITextViewLine for which the glyph is rendered. |
tagRange | TagSnapshotRange<IIndicatorTag> | The ITag and the range it covers. |
bounds | Rectangle | The bounds in which the indicator will be rendered. |
Inherited Members
- IndicatorTagBase.GetLocation(Rectangle)
- IndicatorTagBase.GetLocation(Rectangle, HorizontalAlignment, VerticalAlignment)
- IndicatorTagBase.ContentProvider
- IndicatorTagBase.GlyphSize
- IndicatorTagBase.Tag
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()