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()
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>, Rect)
Draws the indicator's glyph in an editor view margin.
public override void DrawGlyph(TextViewDrawContext context, ITextViewLine viewLine, TagSnapshotRange<IIndicatorTag> tagRange, Rect 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 | Rect | The bounds in which the indicator will be rendered. |
Inherited Members
- IndicatorTagBase.GetLocation(Rect)
- IndicatorTagBase.GetLocation(Rect, HorizontalAlignment, VerticalAlignment)
- IndicatorTagBase.ContentProvider
- IndicatorTagBase.GlyphSize
- IndicatorTagBase.Tag
- Object.ToString()
- Object.Equals(Object)
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetHashCode()
- Object.GetType()
- Object.MemberwiseClone()