# C1.Win.FlexGrid.RowCollection.Add

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_FlexGrid_RowCollection_Add_" data-uid="C1.Win.FlexGrid.RowCollection.Add*">Add Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_FlexGrid_RowCollection_Add_" data-uid="C1.Win.FlexGrid.RowCollection.Add*"></a>
<h4 id="C1_Win_FlexGrid_RowCollection_Add" data-uid="C1.Win.FlexGrid.RowCollection.Add">Add()</h4>
<div class="markdown level1 summary"><p>Appends a new <a class="xref" href="C1.Win.FlexGrid.Row.html">Row</a> object to the collection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Row Add()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Add() As Row</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Win.FlexGrid.Row.html">Row</a></td>
      <td><p>A reference to the <a class="xref" href="C1.Win.FlexGrid.Row.html">Row</a> that was added to the collection.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Win_FlexGrid_RowCollection_Add_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The Add method appends a new row to the collection. To insert a row at a specific position,
use the <a class="xref" href="C1.Win.FlexGrid.RowCollection.Insert.html#C1_Win_FlexGrid_RowCollection_Insert_System_Int32_">Insert(int)</a> method.</p>
</div>


<a id="C1_Win_FlexGrid_RowCollection_Add_" data-uid="C1.Win.FlexGrid.RowCollection.Add*"></a>
<h4 id="C1_Win_FlexGrid_RowCollection_Add_System_Int32_" data-uid="C1.Win.FlexGrid.RowCollection.Add(System.Int32)">Add(int)</h4>
<div class="markdown level1 summary"><p>Appends a given number of <a class="xref" href="C1.Win.FlexGrid.Row.html">Row</a> objects to the collection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Add(int count)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Add(count As Integer)</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="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">count</span></td>
      <td><p>Number of rows to add to the collection.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
