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 | |
---|---|---|
Adornment | Gets the adornment. | |
Behavior | Gets the positioning behavior of the adornment. | |
RemovedCallback | Defines the behavior when an adornment has been removed. | |
Tag | Gets the tag associated with the adornment. | |
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.