IAdornmentLayerElement 接口

定义修饰层中的元素。

命名空间:  Microsoft.VisualStudio.Text.Editor
程序集:  Microsoft.VisualStudio.Text.UI.Wpf(在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)

语法

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

IAdornmentLayerElement 类型公开以下成员。

属性

  名称 说明
公共属性 Adornment 获取修饰。
公共属性 Behavior 获取修饰的定位行为。
公共属性 RemovedCallback 定义已移除修饰时的行为。
公共属性 Tag 获取与修饰相关联的标记。
公共属性 VisualSpan 获取与修饰相关联的快照范围。

页首

备注

有关修饰的说明,请参见 编辑扩展点 “扩展的修饰”部分和 在编辑器内“修饰”一节。

请参阅

参考

Microsoft.VisualStudio.Text.Editor 命名空间