TableCellAutomationPeer 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將 TableCell 類型公開至 UI 自動化。
public ref class TableCellAutomationPeer : System::Windows::Automation::Peers::TextElementAutomationPeer, System::Windows::Automation::Provider::IGridItemProvider
public class TableCellAutomationPeer : System.Windows.Automation.Peers.TextElementAutomationPeer, System.Windows.Automation.Provider.IGridItemProvider
type TableCellAutomationPeer = class
inherit TextElementAutomationPeer
interface IGridItemProvider
Public Class TableCellAutomationPeer
Inherits TextElementAutomationPeer
Implements IGridItemProvider
- 繼承
- 實作
建構函式
TableCellAutomationPeer(TableCell) |
初始化 TableCellAutomationPeer 類別的新執行個體。 |
屬性
Dispatcher |
取得與這個 Dispatcher 關聯的 DispatcherObject。 (繼承來源 DispatcherObject) |
EventsSource |
取得或設定 AutomationPeer,其報告至自動化用戶端,作為所有來自此 AutomationPeer 的事件來源。 (繼承來源 AutomationPeer) |
IsHwndHost |
取得值,這個值表示與 WPF Windows Presentation Foundation (WPF) 中與此 AutomationPeer 主機 |
Owner |
取得與 ContentElementAutomationPeer 相關聯的 ContentElement。 (繼承來源 ContentElementAutomationPeer) |
方法
明確介面實作
IGridItemProvider.Column |
取得包含儲存格或項目之資料行的序號 (Ordinal Number)。 |
IGridItemProvider.ColumnSpan |
取得儲存格或項目合併的資料行數目。 |
IGridItemProvider.ContainingGrid |
取得實作 GridPattern 且表示儲存格或項目容器的使用者介面自動化提供者。 |
IGridItemProvider.Row |
取得包含儲存格或項目之資料列的序號。 |
IGridItemProvider.RowSpan |
取得儲存格或項目合併的資料列數目。 |
適用於
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應