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

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WinUI_Grid_Automation_GridCellAutomationPeer__ctor_" data-uid="C1.WinUI.Grid.Automation.GridCellAutomationPeer.#ctor*">GridCellAutomationPeer Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WinUI_Grid_Automation_GridCellAutomationPeer__ctor_" data-uid="C1.WinUI.Grid.Automation.GridCellAutomationPeer.#ctor*"></a>
<h4 id="C1_WinUI_Grid_Automation_GridCellAutomationPeer__ctor_C1_WinUI_Grid_Automation_GridRowAutomationPeer_C1_WinUI_Grid_GridCellType_C1_WinUI_Grid_GridRow_C1_WinUI_Grid_GridColumn_" data-uid="C1.WinUI.Grid.Automation.GridCellAutomationPeer.#ctor(C1.WinUI.Grid.Automation.GridRowAutomationPeer,C1.WinUI.Grid.GridCellType,C1.WinUI.Grid.GridRow,C1.WinUI.Grid.GridColumn)">GridCellAutomationPeer(GridRowAutomationPeer, GridCellType, GridRow, GridColumn)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of <a class="xref" href="C1.WinUI.Grid.Automation.GridCellAutomationPeer.html">GridCellAutomationPeer</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public GridCellAutomationPeer(GridRowAutomationPeer rowPeer, GridCellType cellType, GridRow row, GridColumn column)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(rowPeer As GridRowAutomationPeer, cellType As GridCellType, row As GridRow, column As GridColumn)</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.GridRowAutomationPeer.html">GridRowAutomationPeer</a></td>
      <td><span class="parametername">rowPeer</span></td>
      <td><p>The associated row automation peer.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WinUI.Grid.GridCellType.html">GridCellType</a></td>
      <td><span class="parametername">cellType</span></td>
      <td><p>The type of cell.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WinUI.Grid.GridRow.html">GridRow</a></td>
      <td><span class="parametername">row</span></td>
      <td><p>The row.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WinUI.Grid.GridColumn.html">GridColumn</a></td>
      <td><span class="parametername">column</span></td>
      <td><p>The column.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
