共用方式為


GridViewAutomationPeer(GridView, ListView) 建構函式

定義

初始化 GridViewAutomationPeer 類別的新執行個體。

public:
 GridViewAutomationPeer(System::Windows::Controls::GridView ^ owner, System::Windows::Controls::ListView ^ listview);
public GridViewAutomationPeer (System.Windows.Controls.GridView owner, System.Windows.Controls.ListView listview);
new System.Windows.Automation.Peers.GridViewAutomationPeer : System.Windows.Controls.GridView * System.Windows.Controls.ListView -> System.Windows.Automation.Peers.GridViewAutomationPeer
Public Sub New (owner As GridView, listview As ListView)

參數

owner
GridView

與這個 GridView 相關聯的 GridViewAutomationPeer

listview
ListView

ListViewGridView 會將它當做檢視模式使用。

適用於