Edit

GridViewAutomationPeer Class

Definition

Exposes GridView types to UI Automation.

public ref class GridViewAutomationPeer : System::Windows::Automation::Peers::IViewAutomationPeer, System::Windows::Automation::Provider::ITableProvider
public class GridViewAutomationPeer : System.Windows.Automation.Peers.IViewAutomationPeer, System.Windows.Automation.Provider.ITableProvider
type GridViewAutomationPeer = class
    interface IViewAutomationPeer
    interface IGridProvider
    interface ITableProvider
Public Class GridViewAutomationPeer
Implements ITableProvider, IViewAutomationPeer
Inheritance
GridViewAutomationPeer
Implements

Constructors

Name Description
GridViewAutomationPeer(GridView, ListView)

Initializes a new instance of the GridViewAutomationPeer class.

Explicit Interface Implementations

Name Description
IGridProvider.ColumnCount

Gets the total number of columns in a grid.

IGridProvider.GetItem(Int32, Int32)

Returns the UI Automation provider for the specified cell.

IGridProvider.RowCount

Gets the total number of rows in a grid.

ITableProvider.GetColumnHeaders()

Returns a collection of UI Automation providers that represents all the column headers in a table.

ITableProvider.GetRowHeaders()

Returns a collection of UI Automation providers that represents all row headers in the table.

ITableProvider.RowOrColumnMajor

Gets the primary direction of traversal for the table.

IViewAutomationPeer.CreateItemAutomationPeer(Object)

Creates a new instance of the ItemAutomationPeer class.

IViewAutomationPeer.GetAutomationControlType()

Gets the control type for the element that is associated with this GridViewAutomationPeer.

IViewAutomationPeer.GetChildren(List<AutomationPeer>)

Gets the collection of immediate child elements of the specified UI Automation peer.

IViewAutomationPeer.GetPattern(PatternInterface)

Gets the control pattern that is associated with the specified patternInterface.

IViewAutomationPeer.ItemsChanged(NotifyCollectionChangedEventArgs)

Called when the collection of items changes.

IViewAutomationPeer.ViewDetached()

Called when the custom view is no longer applied to the control.

Applies to