Redigera

Dela via


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 ITableProvider
    interface IGridProvider
type GridViewAutomationPeer = class
    interface IViewAutomationPeer
    interface IGridProvider
    interface ITableProvider
Public Class GridViewAutomationPeer
Implements ITableProvider, IViewAutomationPeer
Inheritance
GridViewAutomationPeer
Implements

Constructors

GridViewAutomationPeer(GridView, ListView)

Initializes a new instance of the GridViewAutomationPeer class.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

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