GridViewItemAutomationPeer GridViewItemAutomationPeer GridViewItemAutomationPeer GridViewItemAutomationPeer Class


Exposes a GridViewItem to Microsoft UI Automation.

public : class GridViewItemAutomationPeer : FrameworkElementAutomationPeer, IGridViewItemAutomationPeerpublic class GridViewItemAutomationPeer : FrameworkElementAutomationPeer, IGridViewItemAutomationPeerPublic Class GridViewItemAutomationPeer Inherits FrameworkElementAutomationPeer Implements IGridViewItemAutomationPeer// This API is not available in Javascript.
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited methods

Inherited properties


The Windows Runtime GridViewItem class creates a new GridViewItemAutomationPeer as its OnCreateAutomationPeer definition. Derive your automation peer from GridViewItemAutomationPeer if you are deriving a custom class from GridViewItem 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 GridViewItemAutomationPeer

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


GridViewItemAutomationPeer(GridViewItem) GridViewItemAutomationPeer(GridViewItem) GridViewItemAutomationPeer(GridViewItem) GridViewItemAutomationPeer(GridViewItem)

Initializes a new instance of the GridViewItemAutomationPeer class.

public : GridViewItemAutomationPeer(GridViewItem owner)public GridViewItemAutomationPeer(GridViewItem owner)Public Sub New(owner As GridViewItem)// This API is not available in Javascript.
GridViewItem GridViewItem GridViewItem GridViewItem

The owner element to create for.

See Also