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 控件。

返回

GridViewAutomationPeerGridView

适用于