IAdornmentLayerElement Interface

Defines an element in an adornment layer.

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

Syntax

声明
Public Interface IAdornmentLayerElement
public interface IAdornmentLayerElement
public interface class IAdornmentLayerElement
type IAdornmentLayerElement =  interface end
public interface IAdornmentLayerElement

The IAdornmentLayerElement type exposes the following members.

Properties

  Name Description
Public property Adornment Gets the adornment.
Public property Behavior Gets the positioning behavior of the adornment.
Public property RemovedCallback Defines the behavior when an adornment has been removed.
Public property Tag Gets the tag associated with the adornment.
Public property VisualSpan Gets the snapshot span that is associated with the adornment.

Top

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