共用方式為


TextBlockControlAutomationPeer 類別

繼承階層架構

System.Object
  System.Windows.Threading.DispatcherObject
    System.Windows.Automation.Peers.AutomationPeer
      System.Windows.Automation.Peers.UIElementAutomationPeer
        System.Windows.Automation.Peers.FrameworkElementAutomationPeer
          System.Windows.Automation.Peers.TextBlockAutomationPeer
            Microsoft.TeamFoundation.Controls.WPF.TextBlockControlAutomationPeer

命名空間:  Microsoft.TeamFoundation.Controls.WPF
組件:  Microsoft.TeamFoundation.Controls (在 Microsoft.TeamFoundation.Controls.dll 中)

語法

'宣告
Public Class TextBlockControlAutomationPeer _
    Inherits TextBlockAutomationPeer
public class TextBlockControlAutomationPeer : TextBlockAutomationPeer

TextBlockControlAutomationPeer 型別會公開下列成員。

建構函式

  名稱 說明
公用方法 TextBlockControlAutomationPeer

回頁首

屬性

  名稱 說明
公用屬性 Dispatcher 取得DispatcherDispatcherObject相關聯。 (繼承自 DispatcherObject)。
公用屬性 EventsSource 取得或設定 AutomationPeer,向自動化用戶端回報為這個 AutomationPeer 之所有事件的來源。 (繼承自 AutomationPeer)。
受保護的屬性 IsHwndHost 取得值,這個值表示與這個 AutomationPeer 相關聯的項目是否裝載 Windows Presentation Foundation (WPF) 中的 hwnds。 (繼承自 AutomationPeer)。
公用屬性 Owner 取得與此 UIElementAutomationPeer 關聯的 UIElement。 (繼承自 UIElementAutomationPeer)。

回頁首

方法

  名稱 說明
公用方法 CheckAccess 判斷呼叫的執行緒是否有存取此DispatcherObject。 (繼承自 DispatcherObject)。
公用方法 Equals 判斷指定的物件是否等於目前物件。 (繼承自 Object)。
受保護的方法 Finalize 允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。
公用方法 GetAcceleratorKey 取得與 UI 自動化 對等個體相關聯之項目的快速鍵組合。  (繼承自 AutomationPeer)。
受保護的方法 GetAcceleratorKeyCore 取得與這個 UIElementAutomationPeer 相關聯之 UIElement 的快速鍵。這個方法要由 GetAcceleratorKey 呼叫。 (繼承自 UIElementAutomationPeer)。
公用方法 GetAccessKey 取得與自動化對等個體相關聯項目的便捷鍵。 (繼承自 AutomationPeer)。
受保護的方法 GetAccessKeyCore 取得與這個 UIElementAutomationPeer 相關聯之 UIElement 的便捷鍵。這個方法要由 GetAccessKey 呼叫。 (繼承自 UIElementAutomationPeer)。
公用方法 GetAutomationControlType 取得與 UI 自動化對等個體相關聯項目的控制項型別。 (繼承自 AutomationPeer)。
受保護的方法 GetAutomationControlTypeCore 取得控制項型別的TextBlock與此有關TextBlockAutomationPeer。由呼叫GetAutomationControlType。 (繼承自 TextBlockAutomationPeer)。
公用方法 GetAutomationId 取得與自動化對等個體相關聯項目的 AutomationId。 (繼承自 AutomationPeer)。
受保護的方法 GetAutomationIdCore 取得字串,可識別出FrameworkElement與此有關FrameworkElementAutomationPeer。由呼叫GetAutomationId。 (繼承自 FrameworkElementAutomationPeer)。
公用方法 GetBoundingRectangle 取得 Rect 物件,這個物件表示與自動化對等個體關聯之項目的螢幕座標。 (繼承自 AutomationPeer)。
受保護的方法 GetBoundingRectangleCore 取得 Rect,表示與這個 UIElementAutomationPeer 相關聯之 UIElement 的周框 (Bounding Rectangle)。這個方法要由 GetBoundingRectangle 呼叫。 (繼承自 UIElementAutomationPeer)。
公用方法 GetChildren 取得 GetChildren 項目的集合,這些項目在使用者介面自動化樹狀目錄中是表示為自動化對等個體的直系子項目。 (繼承自 AutomationPeer)。
受保護的方法 GetChildrenCore 取得子項目的集合TextBlock與此有關TextBlockAutomationPeer。由呼叫GetChildren。 (繼承自 TextBlockAutomationPeer)。
公用方法 GetClassName 取得與 AutomationControlType 一起使用的名稱,以區分此 AutomationPeer 所表示的控制項。 (繼承自 AutomationPeer)。
受保護的方法 GetClassNameCore 取得名稱TextBlock與此有關TextBlockAutomationPeer。由呼叫GetClassName。 (繼承自 TextBlockAutomationPeer)。
公用方法 GetClickablePoint 取得與自動化對等個體關聯之項目上的 Point,該對等個體回應滑鼠點選動作。 (繼承自 AutomationPeer)。
受保護的方法 GetClickablePointCore 取得 Point,表示與這個 UIElementAutomationPeer 相關聯之 UIElement 上的可按區域。這個方法要由 GetClickablePoint 呼叫。 (繼承自 UIElementAutomationPeer)。
公用方法 GetHashCode 做為特定型別的雜湊函式。 (繼承自 Object)。
公用方法 GetHelpText 取得文字,這個文字描述與自動化對等個體關聯之控制項的功能。 (繼承自 AutomationPeer)。
受保護的方法 GetHelpTextCore 取得字串,描述的功能ContentElement與此有關ContentElementAutomationPeer。由呼叫GetHelpText。 (繼承自 FrameworkElementAutomationPeer)。
受保護的方法 GetHostRawElementProviderCore 告知 UI 自動化,將 Windows Presentation Foundation (WPF) 項目所裝載的 hwnd 放置在 UI 自動化樹狀目錄中的哪個位置。 (繼承自 AutomationPeer)。
公用方法 GetItemStatus 取得文字,這個文字表示與此自動化對等個體關聯之項目的視覺化狀態。 (繼承自 AutomationPeer)。
受保護的方法 GetItemStatusCore 取得字串,表示與這個 UIElementAutomationPeer 關聯的 UIElement 的視覺狀態。這個方法要由 GetItemStatus 呼叫。 (繼承自 UIElementAutomationPeer)。
公用方法 GetItemType 取得字串,這個字串描述物件所表示的項目類型。 (繼承自 AutomationPeer)。
受保護的方法 GetItemTypeCore 取得人們可解讀的字串,這個字串包含這個 UIElementAutomationPeer 所表示 UIElement 的項目型別。這個方法要由 GetItemType 呼叫。 (繼承自 UIElementAutomationPeer)。
公用方法 GetLabeledBy 取得將項目設定為目標之 LabelAutomationPeer。 (繼承自 AutomationPeer)。
受保護的方法 GetLabeledByCore 針對這個 UIElementAutomationPeer 取得項目的 UIElement,這個項目是以 AutomationPeer 做為目標。這個方法要由 GetLabeledBy 呼叫。 (繼承自 UIElementAutomationPeer)。
公用方法 GetLocalizedControlType 取得人們可解讀的當地語系化字串,這個字串表示與這個自動化對等個體相關聯控制項的 AutomationControlType 值。 (繼承自 AutomationPeer)。
受保護的方法 GetLocalizedControlTypeCore 在衍生類別中覆寫時,由 GetLocalizedControlType 呼叫。 (繼承自 AutomationPeer)。
公用方法 GetName 取得文字,這個文字描述與此自動化對等個體關聯的項目。 (繼承自 AutomationPeer)。
受保護的方法 GetNameCore 取得文字標籤的ContentElement與此有關ContentElementAutomationPeer。由呼叫GetName。 (繼承自 FrameworkElementAutomationPeer)。
公用方法 GetOrientation 取得值,這個值表示明確的控制項方向 (若有的話)。 (繼承自 AutomationPeer)。
受保護的方法 GetOrientationCore 取得值,這個值表示與這個 UIElementAutomationPeer 相關聯的 UIElement 是否依特定方向配置。這個方法要由 GetOrientation 呼叫。 (繼承自 UIElementAutomationPeer)。
公用方法 GetParent 取得 AutomationPeer,它是這個 AutomationPeer 的父代。 (繼承自 AutomationPeer)。
公用方法 GetPattern 取得與這個 UIElementAutomationPeer 相關聯之 UIElement 的控制項模式。 (繼承自 UIElementAutomationPeer)。
公用方法 GetPeerFromPoint 從指定之點取得 AutomationPeer。 (繼承自 AutomationPeer)。
受保護的方法 GetPeerFromPointCore 在衍生類別中覆寫時,從 GetPeerFromPoint 呼叫。 (繼承自 AutomationPeer)。
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
公用方法 HasKeyboardFocus 取得值,這個值表示與這個自動化對等個體相關聯的項目目前是否有鍵盤焦點。 (繼承自 AutomationPeer)。
受保護的方法 HasKeyboardFocusCore 取得值,這個值表示與這個 UIElementAutomationPeer 相關聯的 UIElement 目前是否有鍵盤輸入焦點。這個方法要由 HasKeyboardFocus 呼叫。 (繼承自 UIElementAutomationPeer)。
公用方法 InvalidatePeer 重新計算 AutomationPeer 的主要屬性,如果屬性變更,也會將 PropertyChanged 告知自動化用戶端。 (繼承自 AutomationPeer)。
公用方法 IsContentElement 取得值,這個值表示與此自動化對等個體關聯的項目是否包含向使用者呈現的資料。 (繼承自 AutomationPeer)。
受保護的方法 IsContentElementCore 取得值,這個值指出與這個 UIElementAutomationPeer 相關聯的 UIElement 是否為包含呈現給使用者之資料的項目。這個方法要由 IsContentElement 呼叫。 (繼承自 UIElementAutomationPeer)。
公用方法 IsControlElement 取得值,這個值表示項目會由使用者辨識為互動式,還是做為 GUI 中控制項的邏輯結構。 (繼承自 AutomationPeer)。
受保護的方法 IsControlElementCore (覆寫 TextBlockAutomationPeer.IsControlElementCore()。)
公用方法 IsEnabled 取得值,這個值表示與此自動化對等個體關聯的項目是否支援互動。 (繼承自 AutomationPeer)。
受保護的方法 IsEnabledCore 取得值,這個值表示與這個 UIElementAutomationPeer 相關聯的 UIElement 是否可以接受鍵盤焦點。這個方法要由 IsKeyboardFocusable 呼叫。 (繼承自 UIElementAutomationPeer)。
公用方法 IsKeyboardFocusable 取得值,這個值表示項目是否可以接受鍵盤焦點。 (繼承自 AutomationPeer)。
受保護的方法 IsKeyboardFocusableCore 取得值,這個值表示與這個 UIElementAutomationPeer 相關聯的 UIElement 是否可以接受鍵盤焦點。這個方法要由 IsKeyboardFocusable 呼叫。 (繼承自 UIElementAutomationPeer)。
公用方法 IsOffscreen 取得值,這個值表示項目是否不在螢幕上。 (繼承自 AutomationPeer)。
受保護的方法 IsOffscreenCore 取得值,這個值表示與這個 UIElementAutomationPeer 相關聯的 UIElement 是否不在螢幕上。這個方法要由 IsOffscreen 呼叫。 (繼承自 UIElementAutomationPeer)。
公用方法 IsPassword 取得值,這個值表示項目是否包含敏感性內容。 (繼承自 AutomationPeer)。
受保護的方法 IsPasswordCore 取得值,這個值指出與這個 UIElementAutomationPeer 相關聯的 UIElement 是否包含受保護的內容。這個方法要由 IsPassword 呼叫。 (繼承自 UIElementAutomationPeer)。
公用方法 IsRequiredForForm 取得值,這個值表示與此對等個體關聯的項目在表單上是否為必填項。 (繼承自 AutomationPeer)。
受保護的方法 IsRequiredForFormCore 取得值,這個值表示與這個 UIElementAutomationPeer 相關聯的 UIElement 是否為表單上必須填寫的項目。這個方法要由 IsRequiredForForm 呼叫。 (繼承自 UIElementAutomationPeer)。
受保護的方法 MemberwiseClone 建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。
受保護的方法 PeerFromProvider 取得指定之 IRawElementProviderSimple Proxy 的 AutomationPeer。 (繼承自 AutomationPeer)。
受保護的方法 ProviderFromPeer 取得指定之 AutomationPeerIRawElementProviderSimple。 (繼承自 AutomationPeer)。
公用方法 RaiseAsyncContentLoadedEvent AutomationPeer 呼叫以引發 AsyncContentLoadedEvent 事件。 (繼承自 AutomationPeer)。
公用方法 RaiseAutomationEvent 引發自動化事件。 (繼承自 AutomationPeer)。
公用方法 RaisePropertyChangedEvent 引發事件以通知自動化用戶端,屬性值已變更。 (繼承自 AutomationPeer)。
公用方法 ResetChildrenCache 藉由呼叫 GetChildrenCore,同步重設子項目的樹狀目錄。 (繼承自 AutomationPeer)。
公用方法 SetFocus 對與此自動化對等個體關聯的項目設定鍵盤焦點。 (繼承自 AutomationPeer)。
受保護的方法 SetFocusCore 針對與這個 UIElementAutomationPeer 相關聯的 UIElement 設定鍵盤輸入焦點。這個方法要由 SetFocus 呼叫。 (繼承自 UIElementAutomationPeer)。
公用方法 ToString 傳回表示目前物件的字串。 (繼承自 Object)。
公用方法 VerifyAccess 強制執行呼叫的執行緒都具有存取此DispatcherObject。 (繼承自 DispatcherObject)。

回頁首

執行緒安全

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

請參閱

參考

Microsoft.TeamFoundation.Controls.WPF 命名空間