IntraTextAdornmentTag Constructor (UIElement^, AdornmentRemovedCallback^)
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
)
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.
Use this constructor only for adornments that replace text in the text buffer of the view.
Show: