Compartir a través de


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

'Declaration
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: Object

    The tag associated with element.

  • element
    Type: 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.

See Also

Reference

Microsoft.VisualStudio.Text.Editor Namespace