IntraTextAdornmentTag Class
Represents a tag that provides adornments to be interspersed with text.
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
| Name | Description | |
|---|---|---|
![]() | IntraTextAdornmentTag(UIElement, AdornmentRemovedCallback) | Initializes a new instance of a IntraTextAdornmentTag. |
![]() | IntraTextAdornmentTag(UIElement, AdornmentRemovedCallback, Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<PositionAffinity>) | Initializes a new instance of a IntraTextAdornmentTag. |
![]() | IntraTextAdornmentTag(UIElement, AdornmentRemovedCallback, Nullable<PositionAffinity>) | Initializes a new instance of a IntraTextAdornmentTag. |
| Name | Description | |
|---|---|---|
![]() | Adornment | Gets the adornment to be displayed at the position of the tag. Must not be null. |
![]() | Affinity | Gets the PositionAffinity of the space-negotiating adornment. |
![]() | Baseline | Gets the baseline of the space-negotiating adornment. |
![]() | BottomSpace | Gets the amount of space that is required between the bottom of the text in the ITextViewLine and the bottom of the ITextViewLine. |
![]() | RemovalCallback | Called when adornment is removed from the view. May be null. |
![]() | TextHeight | Gets the height of the text portion of the space-negotiating adornment. |
![]() | TopSpace | Gets the amount of space that is required between the top of the text in the ITextViewLine and the top of the ITextViewLine. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (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.


