IAdornmentLayer Methods

 

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

NameDescription
System_CAPS_pubmethodAddAdornment(AdornmentPositioningBehavior, Nullable<SnapshotSpan>, Object^, UIElement^, AdornmentRemovedCallback^)

Adds a UIElement to the layer.

System_CAPS_pubmethodAddAdornment(SnapshotSpan, Object^, UIElement^)

Adds a UIElement that is TextRelative to the layer.

System_CAPS_pubmethodRemoveAdornment(UIElement^)

Removes a specific UIElement.

System_CAPS_pubmethodRemoveAdornmentsByTag(Object^)

Removes all UIElement objects associated with a particular tag.

System_CAPS_pubmethodRemoveAdornmentsByVisualSpan(SnapshotSpan)

Removes all adornments with visual spans that overlap the given visual span.

System_CAPS_pubmethodRemoveAllAdornments()

Removes all UIElement objects in the layer.

System_CAPS_pubmethodRemoveMatchingAdornments(Predicate<IAdornmentLayerElement^>^)

Removes all matching adornments.

System_CAPS_pubmethodRemoveMatchingAdornments(SnapshotSpan, Predicate<IAdornmentLayerElement^>^)

Removes all matching adornments with visual spans \.

Return to top
Show: