共用方式為


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 命名空間