# C1.WinUI.Grid.Automation.GridPanelPeer.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WinUI_Grid_Automation_GridPanelPeer__ctor_" data-uid="C1.WinUI.Grid.Automation.GridPanelPeer.#ctor*">GridPanelPeer Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WinUI_Grid_Automation_GridPanelPeer__ctor_" data-uid="C1.WinUI.Grid.Automation.GridPanelPeer.#ctor*"></a>
<h4 id="C1_WinUI_Grid_Automation_GridPanelPeer__ctor_C1_WinUI_Grid_Automation_FlexGridAutomationPeer_C1_WinUI_Grid_GridPanel_" data-uid="C1.WinUI.Grid.Automation.GridPanelPeer.#ctor(C1.WinUI.Grid.Automation.FlexGridAutomationPeer,C1.WinUI.Grid.GridPanel)">GridPanelPeer(FlexGridAutomationPeer, GridPanel)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of <a class="xref" href="C1.WinUI.Grid.Automation.GridPanelPeer.html">GridPanelPeer</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public GridPanelPeer(FlexGridAutomationPeer gridPeer, GridPanel panel)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(gridPeer As FlexGridAutomationPeer, panel As GridPanel)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.WinUI.Grid.Automation.FlexGridAutomationPeer.html">FlexGridAutomationPeer</a></td>
      <td><span class="parametername">gridPeer</span></td>
      <td><p>The associated <a class="xref" href="C1.WinUI.Grid.FlexGrid.html">FlexGrid</a> automation peer.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WinUI.Grid.GridPanel.html">GridPanel</a></td>
      <td><span class="parametername">panel</span></td>
      <td><p>The associated panel.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
