IntraTextAdornmentTag Constructor (UIElement^, AdornmentRemovedCallback^)

 

Initializes a new instance of a IntraTextAdornmentTag.

Namespace:   Microsoft.VisualStudio.Text.Editor
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.

Return to top
Show: