In This Article

BreakpointIndicatorTag Class

Represents an IIndicatorTag that renders a breakpoint over a text range.

public class BreakpointIndicatorTag : IndicatorClassificationTagBase, IIndicatorTag, IClassificationTag, ITag, INotifyPropertyChanged
Inheritance:
Object IndicatorTagBase IndicatorClassificationTagBase Object
Implements:
IIndicatorTag IClassificationTag ITag

Constructors

BreakpointIndicatorTag()

public BreakpointIndicatorTag()

Properties

ClassificationType

Gets the IClassificationType associated with the tag.

public override IClassificationType ClassificationType { get; }

Property Value

IClassificationType:

The IClassificationType associated with the tag.

IsEnabled

Gets or sets whether the breakpoint is enabled.

public bool IsEnabled { get; set; }

Property Value

Boolean:

true if the breakpoint is enabled; otherwise, false.

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.

NotifyPropertyChanged(String)

Notifies that a property has changed.

protected void NotifyPropertyChanged(string propertyName)
Parameter Type Description
propertyName String

The name of the property that was changed.

OnPropertyChanged(PropertyChangedEventArgs)

Raises the PropertyChanged event.

protected virtual void OnPropertyChanged(PropertyChangedEventArgs e)
Parameter Type Description
e PropertyChangedEventArgs

The PropertyChangedEventArgs that contains the event data.

Events

PropertyChanged

Occurs when a property has been changed.

public event PropertyChangedEventHandler PropertyChanged

Event Type

PropertyChangedEventHandler

Inherited Members