Share via


GridItemPatternIdentifiers 類別

定義

包含 IGridItemProvider用來作為識別碼的值。

public ref class GridItemPatternIdentifiers sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GridItemPatternIdentifiers final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GridItemPatternIdentifiers
Public NotInheritable Class GridItemPatternIdentifiers
繼承
Object Platform::Object IInspectable GridItemPatternIdentifiers
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

GridItemPatternIdentifiers 之類的類別是 Microsoft UI 自動化通用提供者模式Windows 執行階段實作的識別碼。 如果您要實作Windows 執行階段自訂自動化對等,以報告其GetPattern實作中IGridItemProvider 的支援,則可以使用這些識別碼。 您從參考您自己的對等的控制項程式碼,或針對專案容器對等中的FindItemByProperty,需要這些識別碼才能呼叫RaisePropertyEvent呼叫。

根據用戶端用來實作用戶端的技術,並檢查 Microsoft UI 自動化樹狀結構,通常會以不同的方式向用戶端公開此相同模式。 IGridItemProvider 也會顯示為元件物件模型, (COM) 介面。

屬性

ColumnProperty

識別 資料行 自動化屬性。

ColumnSpanProperty

識別 ColumnSpan 自動化屬性。

ContainingGridProperty

識別 ContainingGrid 自動化屬性。

RowProperty

識別 資料列 自動化屬性。

RowSpanProperty

識別 RowSpan 屬性。

適用於

另請參閱