Поделиться через


IGridProvider Interface

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
Public Interface IGridProvider
public interface IGridProvider

The IGridProvider type exposes the following members.

Properties

  Name Description
Public propertySupported by Silverlight for Windows Phone ColumnCount Gets the total number of columns in a grid.
Public propertySupported by Silverlight for Windows Phone RowCount Gets the total number of rows in a grid.

Top

Methods

  Name Description
Public methodSupported by Silverlight for Windows Phone GetItem Retrieves the UI automation provider for the specified cell.

Top

Remarks

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.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

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

Platforms

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