共用方式為


IVsPackageDefinedTextMarkerType Members

Include Protected Members
Include Inherited Members

Describes how a custom marker type behaves and appears to the user.

The IVsPackageDefinedTextMarkerType type exposes the following members.

Methods

  Name Description
Public method DrawGlyphWithColors Draws a glyph in the given display context and bounding rectangle using the provided colors.
Public method GetBehaviorFlags Controls how the marker tracks text when edits occur.
Public method GetDefaultColors Returns the default foreground and background colors for a marker.
Public method GetDefaultFontFlags Specifies additional modifications to text appearance determined by the marker.
Public method GetDefaultLineStyle Returns the default line attributes for a custom marker type.
Public method GetPriorityIndex Returns the priority index for the custom marker type, with the highest priority value receiving the topmost placement.
Public method GetVisualStyle Returns the appearance, location, and coloring of a custom marker type as a bit filed.

Top

See Also

Reference

IVsPackageDefinedTextMarkerType Interface

Microsoft.VisualStudio.TextManager.Interop Namespace