Share via


GridPatternIdentifiers 类

定义

包含 IGridProvider 用作标识符的值。

public ref class GridPatternIdentifiers 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 GridPatternIdentifiers 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 GridPatternIdentifiers
Public NotInheritable Class GridPatternIdentifiers
继承
Object Platform::Object IInspectable GridPatternIdentifiers
属性

注解

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

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

属性

ColumnCountProperty

标识 ColumnCount 自动化属性。

RowCountProperty

标识 RowCount 自动化属性。

适用于

另请参阅