IntraTextAdornmentTag Constructor (UIElement^, AdornmentRemovedCallback^, 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<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.
- affinity
-
Type:
System::Nullable<PositionAffinity>
The affinity of the adornment. Must be null if and only if the adornment has a non-zero-length span at the view's text buffer.
Show: