共用方式為


GridView.GetAutomationPeer(ListView) 方法

定義

取得這個 AutomationPeer 物件的 GridView 實作。

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

參數

parent
ListView

實作這個 ListView 檢視的 GridView 控制項。

傳回

IViewAutomationPeer

這個 GridViewAutomationPeerGridView

適用於