IGridProvider Interface

IGridProvider Interface

Exposes methods and properties to support access by a UI automation client to controls that act as containers for a collection of child elements.

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

public interface IGridProvider

The IGridProvider type exposes the following members.

Public propertySupported by Silverlight for Windows PhoneColumnCountGets the total number of columns in a grid.
Public propertySupported by Silverlight for Windows PhoneRowCountGets the total number of rows in a grid.

Public methodSupported by Silverlight for Windows PhoneGetItemRetrieves the UI automation provider for the specified cell.

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.

This interface is implemented in a UI automation provider that must support the Grid control pattern.

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


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

© 2015 Microsoft