IntraTextAdornmentTag Class

 

Represents a tag that provides adornments to be interspersed with text.

Namespace:   Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

System.Object
  Microsoft.VisualStudio.Text.Editor.IntraTextAdornmentTag

public class IntraTextAdornmentTag : ITag

NameDescription
System_CAPS_pubpropertyAdornment

Gets the adornment to be displayed at the position of the tag. Must not be null.

System_CAPS_pubpropertyAffinity

Gets the PositionAffinity of the space-negotiating adornment.

System_CAPS_pubpropertyBaseline

Gets the baseline of the space-negotiating adornment.

System_CAPS_pubpropertyBottomSpace

Gets the amount of space that is required between the bottom of the text in the ITextViewLine and the bottom of the ITextViewLine.

System_CAPS_pubpropertyRemovalCallback

Called when adornment is removed from the view. May be null.

System_CAPS_pubpropertyTextHeight

Gets the height of the text portion of the space-negotiating adornment.

System_CAPS_pubpropertyTopSpace

Gets the amount of space that is required between the top of the text in the ITextViewLine and the top of the ITextViewLine.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

The tag span is elided from the view and that text is replaced by the adornment that is provided by this tag.

The aggregator for these tags is created on a per-view basis, and handles text hiding, the production of SpaceNegotiatingAdornmentTag objects, and the positioning of adornments on the adornment layer.

This works only for views that have the Structured view role.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: