Export (0) Print
Expand All

IGridProvider Interface

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)

[GuidAttribute("b17d6187-0907-464b-a168-0ef17a1572b1")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[ComVisibleAttribute(true)]
public interface IGridProvider

The IGridProvider type exposes the following members.

  NameDescription
Public propertyColumnCountGets the total number of columns in a grid.
Public propertyRowCountGets the total number of rows in a grid.
Top

  NameDescription
Public methodGetItemRetrieves the UI Automation provider for the specified cell.
Top

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

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

ADD
Show:
© 2014 Microsoft