Export (0) Print
Expand All

IVsTextMarkerType Interface

Provides a uniform mechanism for obtaining information about a given text marker type, whether predefined by the editor or registered by a package.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

[GuidAttribute("8C4A2B6E-6377-4C71-9940-FBA1BE6EDD6F")]
[InterfaceTypeAttribute()]
public interface IVsTextMarkerType

The IVsTextMarkerType type exposes the following members.

  NameDescription
Public methodDrawGlyphDetermines where a custom marker glyph can be drawn in the widget margin.
Public methodDrawGlyphExDraws a glyph in the widget margin given a display device context and a bounding rectangle.
Public methodGetBehaviorFlagsReturns marker behavior flags, which define the default marker behavior.
Public methodGetDefaultColorsReturns the default foreground and background colors for a marker.
Public methodGetDefaultLineStyleReturns the default line attributes for a custom marker type.
Public methodGetDisplayNameReturns the display name of the custom marker type.
Public methodGetPriorityIndexReturns the priority index for the custom marker type, with the highest priority value receiving the topmost placement.
Public methodGetVisualStyleReturns the appearance, location, and coloring of a custom marker type.
Top

Implement IVsTextMarkerType to provide information about the behavior for a custom marker type.

Notes to Implementers

Implemented by a VSPackage to provide a custom marker type.

Show:
© 2014 Microsoft