AdornmentRemovedCallback Delegate

 

Defines the behavior when a UIElement is removed from an IAdornmentLayer.

Namespace:   Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

public delegate void AdornmentRemovedCallback(
	Object^ tag,
	UIElement^ element
)

Parameters

tag
Type: System::Object^

The tag associated with element.

element
Type: System.Windows::UIElement^

The UIElement removed from the view.

For an explanation of adornments, see the "Extending Adornments" section of Editor Extension Points and the "Adornments" section of Inside the Editor.

Return to top
Show: