Sdílet prostřednictvím


AdornmentRemovedCallback Delegate

Definition

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

public delegate void AdornmentRemovedCallback(System::Object ^ tag, UIElement ^ element);
public delegate void AdornmentRemovedCallback(object tag, UIElement element);
type AdornmentRemovedCallback = delegate of obj * UIElement -> unit
Public Delegate Sub AdornmentRemovedCallback(tag As Object, element As UIElement)

Parameters

tag
Object

The tag associated with element.

element
UIElement

The UIElement removed from the view.

Remarks

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

Applies to