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)
Syntax
'Déclaration
Public Delegate Sub AdornmentRemovedCallback ( _
tag As Object, _
element As UIElement _
)
public delegate void AdornmentRemovedCallback(
Object tag,
UIElement element
)
public delegate void AdornmentRemovedCallback(
Object^ tag,
UIElement^ element
)
type AdornmentRemovedCallback =
delegate of
tag:Object *
element:UIElement -> unit
JScript does not support delegates.
Parameters
- tag
Type: System.Object
The tag associated with element.
- element
Type: System.Windows.UIElement
The UIElement removed from the view.
Remarks
For an explanation of adornments, see the "Extending Adornments" section of Editor Extension Points and the "Adornments" section of Inside the Editor.