IntraTextAdornmentTag Constructor (UIElement^, AdornmentRemovedCallback^, Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<PositionAffinity>)
Visual Studio 2015
Initializes a new instance of a IntraTextAdornmentTag.
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
public: IntraTextAdornmentTag( UIElement^ adornment, AdornmentRemovedCallback^ removalCallback, Nullable<double> topSpace, Nullable<double> baseline, Nullable<double> textHeight, Nullable<double> bottomSpace, Nullable<PositionAffinity> affinity )
Parameters
- adornment
-
Type:
System.Windows::UIElement^
The adornment to be displayed at the position of the tag. Must not be null.
- removalCallback
-
Type:
Microsoft.VisualStudio.Text.Editor::AdornmentRemovedCallback^
Called when adornment is removed from the view. May be null.
- topSpace
-
Type:
System::Nullable<Double>
The amount of space that is required between the top of the text in the ITextViewLine and the top of the ITextViewLine.
- baseline
-
Type:
System::Nullable<Double>
The baseline of the space-negotiating adornment.
- textHeight
-
Type:
System::Nullable<Double>
The height of the text portion of the space-negotiating adornment.
- bottomSpace
-
Type:
System::Nullable<Double>
The amount of space that is required between the bottom of the text in the ITextViewLine and the bottom of the ITextViewLine.
- affinity
-
Type:
System::Nullable<PositionAffinity>
The affinity of the adornment. Must be null if the adornment has a non-zero-length span in the text buffer of the view.
Show: