GridViewAutomationPeer GridViewAutomationPeer GridViewAutomationPeer Class

Definition

Exposes GridView types to Microsoft UI Automation.

public class GridViewAutomationPeer : ListViewBaseAutomationPeer, IGridViewAutomationPeerpublic class GridViewAutomationPeer : ListViewBaseAutomationPeer, IGridViewAutomationPeerPublic Class GridViewAutomationPeer Inherits ListViewBaseAutomationPeer Implements IGridViewAutomationPeer
Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited properties

Inherited methods

Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)

Remarks

The Windows Runtime GridView class creates a new GridViewAutomationPeer as its OnCreateAutomationPeer definition. Derive your automation peer from GridViewAutomationPeer if you are deriving a custom class from GridView and want to add automation support for additional features that you enabled in your custom class. Then override OnCreateAutomationPeer so that it returns your custom peer.

Default peer implementation and overrides in GridViewAutomationPeer

GridViewAutomationPeer has overrides of Core methods such that the associated AutomationPeer methods provide peer-specific information to a Microsoft UI Automation client.

The API that supports the control patterns is all on ListViewBaseAutomationPeer, SelectorAutomationPeer or ItemsControlAutomationPeer.

Constructors

GridViewAutomationPeer(GridView) GridViewAutomationPeer(GridView) GridViewAutomationPeer(GridView)

Initializes a new instance of the GridViewAutomationPeer class.

public GridViewAutomationPeer(GridView owner)public GridViewAutomationPeer(GridView owner)Public Sub New(owner As GridView)
Parameters
owner
GridView GridView GridView

The GridView to create a peer for.

Attributes

See Also