GridItemPatternIdentifiers GridItemPatternIdentifiers GridItemPatternIdentifiers Class

Contains values used as identifiers by IGridItemProvider.

Syntax

Declaration

public sealed class GridItemPatternIdentifierspublic sealed class GridItemPatternIdentifiersPublic NotInheritable Class GridItemPatternIdentifiers

Remarks

Classes such as GridItemPatternIdentifiers are the identifiers for the Windows Runtime implementation of a common provider pattern for Microsoft UI Automation. You might use these identifiers if you are implementing a Windows Runtime custom automation peer that reports support for IGridItemProvider in its GetPattern(PatternInterface) implementation. These identifiers are needed for the RaisePropertyChangedEvent(AutomationProperty, Object, Object) calls that you make from control code that references your own peer, or for FindItemByProperty(IRawElementProviderSimple, AutomationProperty, Object) in an items container peer.

This same pattern is usually exposed to clients in a different way, depending on which technology they use to implement the client and examine the Microsoft UI Automation tree. IGridItemProvider is also presented as a Component Object Model (COM) interface.

Properties summary

Identifies the Column automation property.

Identifies the ColumnSpan automation property.

Identifies the ContainingGrid automation property.

Identifies the Row automation property.

Identifies the RowSpan property.

Properties

  • ColumnProperty
    ColumnProperty
    ColumnProperty
    ColumnProperty

    Identifies the Column automation property.

    public static AutomationProperty ColumnProperty { get; }public static AutomationProperty ColumnProperty { get; }Public Static ReadOnly Property ColumnProperty As AutomationPropertypublic static AutomationProperty ColumnProperty { get; }

    Property Value

  • ColumnSpanProperty
    ColumnSpanProperty
    ColumnSpanProperty
    ColumnSpanProperty

    Identifies the ColumnSpan automation property.

    public static AutomationProperty ColumnSpanProperty { get; }public static AutomationProperty ColumnSpanProperty { get; }Public Static ReadOnly Property ColumnSpanProperty As AutomationPropertypublic static AutomationProperty ColumnSpanProperty { get; }

    Property Value

  • ContainingGridProperty
    ContainingGridProperty
    ContainingGridProperty
    ContainingGridProperty

    Identifies the ContainingGrid automation property.

    public static AutomationProperty ContainingGridProperty { get; }public static AutomationProperty ContainingGridProperty { get; }Public Static ReadOnly Property ContainingGridProperty As AutomationPropertypublic static AutomationProperty ContainingGridProperty { get; }

    Property Value

  • RowProperty
    RowProperty
    RowProperty
    RowProperty

    Identifies the Row automation property.

    public static AutomationProperty RowProperty { get; }public static AutomationProperty RowProperty { get; }Public Static ReadOnly Property RowProperty As AutomationPropertypublic static AutomationProperty RowProperty { get; }

    Property Value

  • RowSpanProperty
    RowSpanProperty
    RowSpanProperty
    RowSpanProperty

    Identifies the RowSpan property.

    public static AutomationProperty RowSpanProperty { get; }public static AutomationProperty RowSpanProperty { get; }Public Static ReadOnly Property RowSpanProperty As AutomationPropertypublic static AutomationProperty RowSpanProperty { get; }

    Property Value

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.StaticAttribute
Windows.Foundation.Metadata.ThreadingAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.UI.Xaml.Automation.dll