共用方式為


TextViewLayoutChangedEventArgs 類別

提供 LayoutChanged 事件的資訊。

繼承階層架構

Object
  EventArgs
    Microsoft.VisualStudio.Text.Editor.TextViewLayoutChangedEventArgs

命名空間:  Microsoft.VisualStudio.Text.Editor
組件:  Microsoft.VisualStudio.Text.UI (在 Microsoft.VisualStudio.Text.UI.dll 中)

語法

'宣告
Public Class TextViewLayoutChangedEventArgs _
    Inherits EventArgs
public class TextViewLayoutChangedEventArgs : EventArgs
public ref class TextViewLayoutChangedEventArgs : public EventArgs
type TextViewLayoutChangedEventArgs =  
    class 
        inherit EventArgs 
    end
public class TextViewLayoutChangedEventArgs extends EventArgs

TextViewLayoutChangedEventArgs 類型會公開下列成員。

建構函式

  名稱 描述
公用方法 TextViewLayoutChangedEventArgs 初始化 TextViewLayoutChangedEventArgs 的新執行個體。

回頁首

屬性

  名稱 描述
公用屬性 HorizontalTranslation 決定檢視表是否已水平轉譯後的最後一個版面配置。
公用屬性 NewOrReformattedLines 取得新增或重新格式化之字行的唯讀集合。
公用屬性 NewOrReformattedSpans 取得新增或重新格式化之延伸的集合。
公用屬性 NewSnapshot 取得檢視的新快照。
公用屬性 NewViewState 在 [版面配置後取得檢視的狀態。
公用屬性 OldSnapshot 取得檢視的舊快照。已取代。
公用屬性 OldViewState 取得檢視中,以配置之前的狀態。
公用屬性 TranslatedLines 取得轉譯字行的集合。
公用屬性 TranslatedSpans 取得轉譯延伸的集合。
公用屬性 VerticalTranslation 決定檢視表是否已垂直轉譯後的最後一個版面配置。

回頁首

方法

  名稱 描述
公用方法 Equals 判斷指定的物件是否等於目前的物件。 (繼承自 Object)。
受保護的方法 Finalize 在記憶體回收開始前,允許物件嘗試釋放資源,並執行其他清除作業。 (繼承自 Object)。
公用方法 GetHashCode 做為預設雜湊函式。 (繼承自 Object)。
公用方法 GetType 取得目前實例 Type 的屬性。 (繼承自 Object)。
受保護的方法 MemberwiseClone 建立目前 Object 的淺層複製 (Shallow Copy) 。 (繼承自 Object)。
公用方法 ToString 傳回代表目前物件的字串。 (繼承自 Object)。

回頁首

執行緒安全

這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.VisualStudio.Text.Editor 命名空間