TableAutomationPeer 類別

定義

Table 類型公開至 UI 自動化。Exposes Table types to UI Automation.

public ref class TableAutomationPeer : System::Windows::Automation::Peers::TextElementAutomationPeer, System::Windows::Automation::Provider::IGridProvider
public class TableAutomationPeer : System.Windows.Automation.Peers.TextElementAutomationPeer, System.Windows.Automation.Provider.IGridProvider
type TableAutomationPeer = class
    inherit TextElementAutomationPeer
    interface IGridProvider
Public Class TableAutomationPeer
Inherits TextElementAutomationPeer
Implements IGridProvider
繼承
實作

建構函式

TableAutomationPeer(Table)

初始化 TableAutomationPeer 類別的新執行個體。Initializes a new instance of the TableAutomationPeer class.

屬性

Dispatcher

取得與這個 Dispatcher 關聯的 DispatcherObjectGets the Dispatcher this DispatcherObject is associated with.

(繼承來源 DispatcherObject)
EventsSource

取得或設定 AutomationPeer,其報告至自動化用戶端,作為所有來自此 AutomationPeer 的事件來源。Gets or sets an AutomationPeer that is reported to the automation client as a source for all the events that come from this AutomationPeer.

(繼承來源 AutomationPeer)
IsHwndHost

取得值,這個值表示與此主控制項 AutomationPeer hwnds 在 WINDOWS PRESENTATION FOUNDATION (WPF) 中相關聯的元素。Gets a value that indicates whether the element that is associated with this AutomationPeer hosts hwnds in Windows Presentation Foundation (WPF).

(繼承來源 AutomationPeer)
Owner

取得與 ContentElementAutomationPeer 相關聯的 ContentElementGets the ContentElement that is associated with this ContentElementAutomationPeer.

(繼承來源 ContentElementAutomationPeer)

方法

CheckAccess()

判斷呼叫的執行是否可以存取這個 DispatcherObjectDetermines whether the calling thread has access to this DispatcherObject.

(繼承來源 DispatcherObject)
Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetAcceleratorKey()

取得與消費者介面自動化對等相關聯之元素的快速鍵組合。Gets the accelerator key combinations for the element that is associated with the UI Automation peer.

(繼承來源 AutomationPeer)
GetAcceleratorKeyCore()

取得與這個 ContentElementAutomationPeer 相關聯之元素的快速鍵。Gets the accelerator key for the element associated with this ContentElementAutomationPeer. GetAcceleratorKey() 呼叫。Called by GetAcceleratorKey().

(繼承來源 ContentElementAutomationPeer)
GetAccessKey()

取得與自動化對等相關聯之項目的存取金鑰。Gets the access key for the element that is associated with the automation peer.

(繼承來源 AutomationPeer)
GetAccessKeyCore()

取得與這個 ContentElementAutomationPeer 相關聯之 ContentElement 的便捷鍵。Gets the access key for the ContentElement that is associated with this ContentElementAutomationPeer. GetAccessKey() 呼叫。Called by GetAccessKey().

(繼承來源 ContentElementAutomationPeer)
GetAutomationControlType()

取得與消費者介面自動化對等相關聯之元素的控制項類型。Gets the control type for the element that is associated with the UI Automation peer.

(繼承來源 AutomationPeer)
GetAutomationControlTypeCore()

取得與此 Table 相關聯之 TableAutomationPeer 的控制項型別。Gets the control type for the Table that is associated with this TableAutomationPeer. 這個方法是由 GetAutomationControlType() 所呼叫。This method is called by GetAutomationControlType().

GetAutomationId()

取得與自動化對等個體相關聯項目的 AutomationIdGets the AutomationId of the element that is associated with the automation peer.

(繼承來源 AutomationPeer)
GetAutomationIdCore()

取得唯一識別與這個 ContentElementAutomationPeer 相關聯之 FrameworkContentElement 的字串。Gets the string that uniquely identifies the FrameworkContentElement that is associated with this ContentElementAutomationPeer. 這個方法是由 GetAutomationId() 所呼叫。This method is called by GetAutomationId().

(繼承來源 FrameworkContentElementAutomationPeer)
GetBoundingRectangle()

取得 Rect 物件,這個物件表示與自動化對等個體關聯之項目的螢幕座標。Gets the Rect object that represents the screen coordinates of the element that is associated with the automation peer.

(繼承來源 AutomationPeer)
GetBoundingRectangleCore()

取得代表與此 TextElementAutomationPeer 相關聯之 TextElement 週框的 RectGets the Rect representing the bounding rectangle of the TextElement that is associated with this TextElementAutomationPeer. GetBoundingRectangle() 呼叫。Called by GetBoundingRectangle().

(繼承來源 TextElementAutomationPeer)
GetChildren()

取得 GetChildren() 項目的集合,這些項目在使用者介面自動化樹狀目錄中是表示為自動化對等個體的直系子項目。Gets the collection of GetChildren() elements that are represented in the UI Automation tree as immediate child elements of the automation peer.

(繼承來源 AutomationPeer)
GetChildrenCore()

取得與這個 TextElement 相關聯之 TextElementAutomationPeer 的子項目集合。Gets the collection of child elements of the TextElement that is associated with this TextElementAutomationPeer. GetChildren() 呼叫。Called by GetChildren().

(繼承來源 TextElementAutomationPeer)
GetClassName()

取得與 AutomationControlType 一起使用的名稱,以區分此 AutomationPeer 所表示的控制項。Gets a name that is used with AutomationControlType, to differentiate the control that is represented by this AutomationPeer.

(繼承來源 AutomationPeer)
GetClassNameCore()

取得與此 Table 相關聯之 TableAutomationPeer 的名稱。Gets the name of the Table that is associated with this TableAutomationPeer. 這個方法是由 GetClassName() 所呼叫。This method is called by GetClassName().

GetClickablePoint()

取得與自動化對等個體關聯之項目上的 Point,該對等個體回應滑鼠點選動作。Gets a Point on the element that is associated with the automation peer that responds to a mouse click.

(繼承來源 AutomationPeer)
GetClickablePointCore()

取得 Point,其代表位於與這個 TextElementAutomationPeer 相關聯之 TextElement 的可點選空間。Gets a Point that represents the clickable space that is on the TextElement that is associated with this TextElementAutomationPeer. GetClickablePoint() 呼叫。Called by GetClickablePoint().

(繼承來源 TextElementAutomationPeer)
GetControlledPeers()

提供使用者介面自動化受此 AutomationPeer 影響或控制的項目清單。Provides UI Automation with a list of elements affected or controlled by this AutomationPeer.

(繼承來源 AutomationPeer)
GetControlledPeersCore()

在衍生類別中覆寫時,提供 UI 自動化及受此 AutomationPeer 影響或控制的元素清單。When overridden in a derived class, provides UI Automation with a list of elements affected or controlled by this AutomationPeer.

(繼承來源 AutomationPeer)
GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetHelpText()

取得文字,這個文字描述與自動化對等個體關聯之控制項的功能。Gets text that describes the functionality of the control that is associated with the automation peer.

(繼承來源 AutomationPeer)
GetHelpTextCore()

取得描述與這個 ContentElementAutomationPeer 相關聯的 FrameworkContentElement 功能的字串。Gets the string that describes the functionality of the FrameworkContentElement that is associated with this ContentElementAutomationPeer. 這個方法是由 GetHelpText() 所呼叫。This method is called by GetHelpText().

(繼承來源 FrameworkContentElementAutomationPeer)
GetHostRawElementProviderCore()

告知消費者介面自動化在消費者介面自動化樹狀目錄中的哪個位置,以 hwnd Windows Presentation Foundation (WPF) 元素來放置所裝載的。Tells UI Automation where in the UI Automation tree to place the hwnd being hosted by a Windows Presentation Foundation (WPF) element.

(繼承來源 AutomationPeer)
GetItemStatus()

取得文字,這個文字表示與此自動化對等個體關聯之項目的視覺化狀態。Gets text that conveys the visual status of the element that is associated with this automation peer.

(繼承來源 AutomationPeer)
GetItemStatusCore()

取得字串,其傳達與 ContentElementAutomationPeer 相關聯之 ContentElement 的視覺狀態。Gets a string that conveys the visual status of the ContentElement that is associated with this ContentElementAutomationPeer. GetItemStatus() 呼叫。Called by GetItemStatus().

(繼承來源 ContentElementAutomationPeer)
GetItemType()

取得字串,這個字串描述物件所表示的項目類型。Gets a string that describes what kind of item an object represents.

(繼承來源 AutomationPeer)
GetItemTypeCore()

取得人類可讀的字串,其中包含與 ContentElementAutomationPeer 表示法相關聯的 ContentElement 的項目類型。Gets a human-readable string that contains the type of the item that the ContentElement that is associated with this ContentElementAutomationPeer represents. GetItemType() 呼叫。Called by GetItemType().

(繼承來源 ContentElementAutomationPeer)
GetLabeledBy()

取得以該項目為目標之 LabelAutomationPeerGets the AutomationPeer for the Label that is targeted to the element.

(繼承來源 AutomationPeer)
GetLabeledByCore()

取得 LabelLabelAutomationPeer,目標是與此 FrameworkContentElementAutomationPeer 相關聯的 FrameworkContentElementGets the LabelAutomationPeer for the Label that is targeted to the FrameworkContentElement that is associated with this FrameworkContentElementAutomationPeer. 這個方法是由 GetLabeledBy() 所呼叫。This method is called by GetLabeledBy().

(繼承來源 FrameworkContentElementAutomationPeer)
GetLiveSetting()

取得與此 Automation Peer 建立關聯的即時區域通知特性。Gets the notification characteristics of a live region that is associated with this automation peer.

(繼承來源 AutomationPeer)
GetLiveSettingCore()

取得與此 ContentElementAutomationPeer 建立關聯的 ContentElement 即時區域通知特性。Gets the notification characteristics of the live region of the ContentElement that is associated with this ContentElementAutomationPeer. GetLiveSetting() 呼叫。Called by GetLiveSetting().

(繼承來源 ContentElementAutomationPeer)
GetLocalizedControlType()

取得人們可解讀的當地語系化字串,這個字串表示與這個自動化對等個體相關聯控制項的 AutomationControlType 值。Gets a human-readable localized string that represents the AutomationControlType value for the control that is associated with this automation peer.

(繼承來源 AutomationPeer)
GetLocalizedControlTypeCore()

在衍生類別中覆寫時,被 GetLocalizedControlType() 呼叫。When overridden in a derived class, is called by GetLocalizedControlType().

(繼承來源 AutomationPeer)
GetName()

取得文字,這個文字描述與此自動化對等個體關聯的項目。Gets text that describes the element that is associated with this automation peer.

(繼承來源 AutomationPeer)
GetNameCore()

取得與這個 ContentElementAutomationPeer 相關聯之 ContentElement 的文字標籤。Gets the text label of the ContentElement that is associated with this ContentElementAutomationPeer. GetName() 呼叫。Called by GetName().

(繼承來源 ContentElementAutomationPeer)
GetOrientation()

取得值,這個值表示明確的控制項方向 (若有的話)。Gets a value that indicates the explicit control orientation, if any.

(繼承來源 AutomationPeer)
GetOrientationCore()

取得值,指出是否依特定方向配置與這個 ContentElementAutomationPeer 相關聯的 ContentElement版面。Gets a value that indicates whether the ContentElement that is associated with this ContentElementAutomationPeer is laid out in a specific direction. GetOrientation() 呼叫。Called by GetOrientation().

(繼承來源 ContentElementAutomationPeer)
GetParent()

取得 AutomationPeer,它是這個 AutomationPeer 的父代。Gets the AutomationPeer that is the parent of this AutomationPeer.

(繼承來源 AutomationPeer)
GetPattern(PatternInterface)

取得與此 TableAutomationPeer 相關聯之 Table 的控制項模式。Gets the control pattern for the Table that is associated with this TableAutomationPeer.

GetPeerFromPoint(Point)

從指定之點取得 AutomationPeerGets an AutomationPeer from the specified point.

(繼承來源 AutomationPeer)
GetPeerFromPointCore(Point)

在衍生類別中覆寫時,從 GetPeerFromPoint(Point) 呼叫。When overridden in a derived class, is called from GetPeerFromPoint(Point).

(繼承來源 AutomationPeer)
GetPositionInSet()

嘗試取得 PositionInSet 屬性的值。Attempts to get the value of the PositionInSet property.

(繼承來源 AutomationPeer)
GetPositionInSetCore()

讀取 PositionInSetProperty 並傳回 PositionInSet 附加屬性的值。Reads PositionInSetProperty and returns the value of the PositionInSet attached property.

(繼承來源 ContentElementAutomationPeer)
GetSizeOfSet()

嘗試取得 SizeOfSet 屬性的值。Attempts to get the value of the SizeOfSet property.

(繼承來源 AutomationPeer)
GetSizeOfSetCore()

讀取 SizeOfSetProperty 並傳回 SizeOfSet 附加屬性的值。Reads SizeOfSetProperty and returns the value of the SizeOfSet attached property.

(繼承來源 ContentElementAutomationPeer)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
HasKeyboardFocus()

取得值,這個值表示與這個自動化對等個體相關聯的項目目前是否有鍵盤焦點。Gets a value that indicates whether the element that is associated with this automation peer currently has keyboard focus.

(繼承來源 AutomationPeer)
HasKeyboardFocusCore()

取得值,指出與這個 ContentElementAutomationPeer 相關聯的 ContentElement 目前是否具有鍵盤輸入焦點。Gets a value that indicates whether the ContentElement that is associated with this ContentElementAutomationPeer currently has keyboard input focus. HasKeyboardFocus() 呼叫。Called by HasKeyboardFocus().

(繼承來源 ContentElementAutomationPeer)
InvalidatePeer()

觸發重新計算 AutomationPeer 的主要屬性,並在屬性變更時引發對自動化用戶端的 PropertyChanged 通知。Triggers recalculation of the main properties of the AutomationPeer and raises the PropertyChanged notification to the Automation Client if the properties changed.

(繼承來源 AutomationPeer)
IsContentElement()

取得值,這個值表示與此 Automation Peer 相關聯的項目是否包含呈現給使用者的資料。Gets a value that indicates whether the element that is associated with this automation peer contains data that is presented to the user.

(繼承來源 AutomationPeer)
IsContentElementCore()

取得值,指出與這個 TableAutomationPeer 相關聯的 Table 是否為包含使用者所見資料的項目。Gets a value that indicates whether the Table that is associated with this TableAutomationPeer is an element that contains data that is presented to the user. 這個方法是由 IsContentElement() 所呼叫。This method is called by IsContentElement().

IsContentElementCore()

取得值,指出與這個 ContentElementAutomationPeer 相關聯的 ContentElement 是否為包含使用者所見資料的項目。Gets a value that indicates whether the ContentElement that is associated with this ContentElementAutomationPeer is an element that contains data that is presented to the user. IsContentElement() 呼叫。Called by IsContentElement().

(繼承來源 ContentElementAutomationPeer)
IsControlElement()

取得值,這個值會指出使用者是否可將專案理解為互動,或在 GUI 中參與控制項的邏輯結構。Gets a value that indicates whether the element is understood by the user as interactive or as contributing to the logical structure of the control in the GUI.

(繼承來源 AutomationPeer)
IsControlElementCore()

取得或設定值,這個值會指出 Table 與此相關聯的是否 TableAutomationPeer 會由使用者辨識為互動式,還是做為 GUI 中控制項的邏輯結構。Gets or sets a value that indicates whether the Table that is associated with this TableAutomationPeer is understood by the end user as interactive or as contributing to the logical structure of the control in the GUI. 這個方法是由 IsControlElement() 所呼叫。This method is called by IsControlElement().

IsEnabled()

取得值,這個值表示與此自動化對等個體關聯的項目是否支援互動。Gets a value that indicates whether the element associated with this automation peer supports interaction.

(繼承來源 AutomationPeer)
IsEnabledCore()

取得值,表示這個自動化對等可以接收和傳送事件給相關聯的項目。Gets a value that indicates whether this automation peer can receive and send events to the associated element. IsEnabled() 呼叫。Called by IsEnabled().

(繼承來源 ContentElementAutomationPeer)
IsKeyboardFocusable()

取得值,這個值表示項目是否可以接受鍵盤焦點。Gets a value that indicates whether the element can accept keyboard focus.

(繼承來源 AutomationPeer)
IsKeyboardFocusableCore()

取得值,表示與這個 ContentElementAutomationPeer 相關聯的 ContentElement 是否可接受鍵盤焦點。Gets a value that indicates whether the ContentElement that is associated with this ContentElementAutomationPeer can accept keyboard focus. IsKeyboardFocusable() 呼叫。Called by IsKeyboardFocusable().

(繼承來源 ContentElementAutomationPeer)
IsOffscreen()

取得值,這個值表示項目是否不在螢幕上。Gets a value that indicates whether an element is off the screen.

(繼承來源 AutomationPeer)
IsOffscreenCore()

取得值,指出與這個 TextElementAutomationPeer 關聯的 TextElement 是否不在畫面上。Gets a value that indicates whether TextElement that is associated with this TextElementAutomationPeer is off of the screen. IsOffscreen() 呼叫。Called by IsOffscreen().

(繼承來源 TextElementAutomationPeer)
IsPassword()

取得值,這個值表示項目是否包含敏感性內容。Gets a value that indicates whether the element contains sensitive content.

(繼承來源 AutomationPeer)
IsPasswordCore()

取得值,這個值表示與此 ContentElementAutomationPeer 相關聯的 ContentElement 是否包含受保護的內容。Gets a value that indicates whether the ContentElement that is associated with this ContentElementAutomationPeer contains protected content. IsPassword() 呼叫。Called by IsPassword().

(繼承來源 ContentElementAutomationPeer)
IsRequiredForForm()

取得值,這個值表示與此對等個體關聯的項目在表單上是否為必填項。Gets a value that indicates whether the element that is associated with this peer must be completed on a form.

(繼承來源 AutomationPeer)
IsRequiredForFormCore()

取得值,指出表單上是否需要填寫與這個 ContentElementAutomationPeer 相關聯的 ContentElementGets a value that indicates whether the ContentElement that is associated with this ContentElementAutomationPeer is required to be filled out on a form. IsRequiredForForm() 呼叫。Called by IsRequiredForForm().

(繼承來源 ContentElementAutomationPeer)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
PeerFromProvider(IRawElementProviderSimple)

取得指定之 AutomationPeer Proxy 的 IRawElementProviderSimpleGets an AutomationPeer for the specified IRawElementProviderSimple proxy.

(繼承來源 AutomationPeer)
ProviderFromPeer(AutomationPeer)

取得所指定之 IRawElementProviderSimpleAutomationPeerGets the IRawElementProviderSimple for the specified AutomationPeer.

(繼承來源 AutomationPeer)
RaiseAsyncContentLoadedEvent(AsyncContentLoadedEventArgs)

AutomationPeer 呼叫以引發 AsyncContentLoadedEvent 事件。Called by the AutomationPeer to raise the AsyncContentLoadedEvent event.

(繼承來源 AutomationPeer)
RaiseAutomationEvent(AutomationEvents)

引發自動化事件。Raises an automation event.

(繼承來源 AutomationPeer)
RaisePropertyChangedEvent(AutomationProperty, Object, Object)

引發事件,通知自動化用戶端已變更屬性值。Raises an event to notify the automation client of a changed property value.

(繼承來源 AutomationPeer)
ResetChildrenCache()

呼叫 GetChildrenCore(),以同步方式重設子項目的樹狀結構。Synchronously resets the tree of child elements by calling GetChildrenCore().

(繼承來源 AutomationPeer)
SetFocus()

對與此自動化對等個體關聯的項目設定鍵盤焦點。Sets the keyboard focus on the element that is associated with this automation peer.

(繼承來源 AutomationPeer)
SetFocusCore()

設定與這個 ContentElementAutomationPeer 相關聯的 ContentElement 上的鍵盤輸入焦點。Sets the keyboard input focus on the ContentElement that is associated with this ContentElementAutomationPeer. SetFocus() 呼叫。Called by SetFocus().

(繼承來源 ContentElementAutomationPeer)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)
VerifyAccess()

請強制執行可以存取這個 DispatcherObject 的呼叫執行緒。Enforces that the calling thread has access to this DispatcherObject.

(繼承來源 DispatcherObject)

明確介面實作

IGridProvider.ColumnCount

取得方格中的資料行總數。Gets the total number of columns in a grid.

IGridProvider.GetItem(Int32, Int32)

擷取指定儲存格的使用者介面自動化提供者。Retrieves the UI Automation provider for the specified cell.

IGridProvider.RowCount

取得方格的資料列總數。Gets the total number of rows in a grid.

適用於