Partager via


IGridItemProvider 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 individual child controls of containers that implement IGridProvider.

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

Syntax

'Declaration
Public Interface IGridItemProvider
public interface IGridItemProvider

The IGridItemProvider type exposes the following members.

Properties

  Name Description
Public propertySupported by Silverlight for Windows Phone Column Gets the ordinal number of the column that contains the cell or item.
Public propertySupported by Silverlight for Windows Phone ColumnSpan Gets the number of columns that are spanned by a cell or item.
Public propertySupported by Silverlight for Windows Phone ContainingGrid Gets a UI automation provider that implements IGridProvider and that represents the container of the cell or item.
Public propertySupported by Silverlight for Windows Phone Row Gets the ordinal number of the row that contains the cell or item.
Public propertySupported by Silverlight for Windows Phone RowSpan Gets the number of rows spanned by a cell or item.

Top

Remarks

Controls that implement IGridItemProvider can typically be traversed by using the keyboard (the UI automation client can move to adjacent controls, where each control is an item in a grid layout.)

This interface is implemented in a UI automation client that must support the GridItem control pattern.

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.