Share via


TableItemPatternIdentifiers 类

定义

包含 ITableProvider 用作标识符的值。

public ref class TableItemPatternIdentifiers sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class TableItemPatternIdentifiers final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class TableItemPatternIdentifiers
Public NotInheritable Class TableItemPatternIdentifiers
继承
Object Platform::Object IInspectable TableItemPatternIdentifiers
属性

注解

TableItemPatternIdentifiers 等类是 Microsoft UI 自动化常见提供程序模式的Windows 运行时实现的标识符。 如果要实现Windows 运行时自定义自动化对等方,该自动化对等方在其 AutomationPeer.GetPattern 实现中报告了对 ITableItemProvider 的支持,则可以使用这些标识符。 这些标识符对于从引用你自己的对等节点的控制代码发出的 AutomationPeer.RaisePropertyChangedEvent 调用,或者对于项容器对等中的 Provider.IItemContainerProvider.FindItemByProperty ,需要这些标识符。

这种相同的模式通常以不同的方式向客户端公开,具体取决于客户端使用哪种技术来实现客户端并检查 Microsoft UI 自动化树。 ITableItemProvider 还作为组件对象模型呈现 (COM) 接口。

属性

ColumnHeaderItemsProperty

标识自动化属性,该属性检索与表项或单元格关联的所有列标题。

RowHeaderItemsProperty

标识自动化属性,该属性检索与表项或单元格关联的所有行标题。

适用于

另请参阅