ITableProvider ITableProvider ITableProvider Interface

Exposes methods and properties to support access by a Microsoft UI Automation client to controls that act as containers for a collection of child elements. The children of this element must implement ITableItemProvider and be organized in a two-dimensional logical coordinate system that can be traversed (a Microsoft UI Automation client can move to adjacent controls, which are headers or cells of the table) by using the keyboard.

Syntax

Declaration

public interface ITableProviderpublic interface ITableProviderPublic Interface ITableProvider

Remarks

This pattern has guidelines and conventions that aren't fully documented here. For more info on what this pattern is for, see Table Control Pattern.

ITableProvider isn't implemented by any existing Windows Runtime automation peers. The interface exists so that custom control authors can support the automation pattern in a custom control, and implement their automation support using the same Windows Runtime managed or C++ API as they use to define control logic or other automation support.

Use TablePatternIdentifiers if you want to reference the ITableProvider pattern properties from control code when you fire automation events or call RaisePropertyChangedEvent(Windows.UI.Xaml.Automation.AutomationProperty,System.Object,System.Object).

Properties summary

Gets the primary direction of traversal for the table.

Methods summary

Returns a collection of UI Automation providers that represents all the column headers in a table.

Returns a collection of UI Automation providers that represents all row headers in the table.

Properties

  • RowOrColumnMajor
    RowOrColumnMajor
    RowOrColumnMajor
    RowOrColumnMajor

    Gets the primary direction of traversal for the table.

    public RowOrColumnMajor RowOrColumnMajor { get; }public RowOrColumnMajor RowOrColumnMajor { get; }Public ReadOnly Property RowOrColumnMajor As RowOrColumnMajor

    Property Value

Methods

  • GetColumnHeaders()
    GetColumnHeaders()
    GetColumnHeaders()
    GetColumnHeaders()

    Returns a collection of UI Automation providers that represents all the column headers in a table.

    public IRawElementProviderSimple[] GetColumnHeaders()public IRawElementProviderSimple[] GetColumnHeaders()Public Function GetColumnHeaders() As IRawElementProviderSimple[]

    Returns

    • Windows.UI.Xaml.Automation.Provider.IRawElementProviderSimple[]
      Windows.UI.Xaml.Automation.Provider.IRawElementProviderSimple[]
      Windows.UI.Xaml.Automation.Provider.IRawElementProviderSimple[]

      An array of UI Automation providers.

  • GetRowHeaders()
    GetRowHeaders()
    GetRowHeaders()
    GetRowHeaders()

    Returns a collection of UI Automation providers that represents all row headers in the table.

    public IRawElementProviderSimple[] GetRowHeaders()public IRawElementProviderSimple[] GetRowHeaders()Public Function GetRowHeaders() As IRawElementProviderSimple[]

    Returns

    • Windows.UI.Xaml.Automation.Provider.IRawElementProviderSimple[]
      Windows.UI.Xaml.Automation.Provider.IRawElementProviderSimple[]
      Windows.UI.Xaml.Automation.Provider.IRawElementProviderSimple[]

      An array of UI Automation providers.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.GuidAttribute
Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.UI.Xaml.Automation.Provider.dll