編輯

共用方式為


GridView.GetAutomationPeer(ListView) Method

Definition

Gets the AutomationPeer implementation for this GridView object.

protected public:
 override System::Windows::Automation::Peers::IViewAutomationPeer ^ GetAutomationPeer(System::Windows::Controls::ListView ^ parent);
protected internal override System.Windows.Automation.Peers.IViewAutomationPeer GetAutomationPeer (System.Windows.Controls.ListView parent);
override this.GetAutomationPeer : System.Windows.Controls.ListView -> System.Windows.Automation.Peers.IViewAutomationPeer
Protected Friend Overrides Function GetAutomationPeer (parent As ListView) As IViewAutomationPeer

Parameters

parent
ListView

The ListView control that implements this GridView view.

Returns

A GridViewAutomationPeer for this GridView.

Applies to