CurrentStatementIndicatorTag Class
Represents an IIndicatorTag that renders a current statement marker over a text range.
public class CurrentStatementIndicatorTag : IndicatorClassificationTagBase, IIndicatorTag, IClassificationTag, ITag
- Inheritance:
- System.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 | System.Windows.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
- System.Object.ToString()
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object, System.Object)
- System.Object.ReferenceEquals(System.Object, System.Object)
- System.Object.GetHashCode()
- System.Object.GetType()
- System.Object.MemberwiseClone()