IGridProvider Interface

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Windows.Automation.Provider
Assembly:  UIAutomationProvider (in UIAutomationProvider.dll)

<ComVisibleAttribute(True)>
<GuidAttribute("b17d6187-0907-464b-a168-0ef17a1572b1")>
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>
Public Interface IGridProvider

NameDescription
System_CAPS_pubpropertyColumnCount

Gets the total number of columns in a grid.

System_CAPS_pubpropertyRowCount

Gets the total number of rows in a grid.

NameDescription
System_CAPS_pubmethodGetItem(Int32, Int32)

Retrieves the UI Automation provider for the specified cell.

Implemented on a UI Automation provider that must support the GridPattern control pattern.

IGridProvider does not enable active manipulation of a grid; ITransformProvider must be implemented to enable this functionality.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: