# FarPoint.Web.Spread.IOptimizedFilterStyleModel.NextNonEmptyRow

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Spread_IOptimizedFilterStyleModel_NextNonEmptyRow_" data-uid="FarPoint.Web.Spread.IOptimizedFilterStyleModel.NextNonEmptyRow*">NextNonEmptyRow Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Spread_IOptimizedFilterStyleModel_NextNonEmptyRow_" data-uid="FarPoint.Web.Spread.IOptimizedFilterStyleModel.NextNonEmptyRow*"></a>
<h4 id="FarPoint_Web_Spread_IOptimizedFilterStyleModel_NextNonEmptyRow_System_Int32_System_Boolean_" data-uid="FarPoint.Web.Spread.IOptimizedFilterStyleModel.NextNonEmptyRow(System.Int32,System.Boolean)">NextNonEmptyRow(int, bool)</h4>
<div class="markdown level1 summary"><p>Gets the index of the next row that contains a style setting in the model.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">int NextNonEmptyRow(int row, bool foreColor)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function NextNonEmptyRow(row As Integer, foreColor As Boolean) 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">row</span></td>
      <td><p>Row index to start searching after (-1 to start at row 0)</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">foreColor</span></td>
      <td><p>if set to <code>true</code> forecolor.</p>
</td>
    </tr>
  </tbody>
</table>
<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="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><p>Row index of next non-empty row</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_IOptimizedFilterStyleModel_NextNonEmptyRow_" data-uid="FarPoint.Web.Spread.IOptimizedFilterStyleModel.NextNonEmptyRow*"></a>
<h4 id="FarPoint_Web_Spread_IOptimizedFilterStyleModel_NextNonEmptyRow_System_Int32_System_Int32_System_Boolean_" data-uid="FarPoint.Web.Spread.IOptimizedFilterStyleModel.NextNonEmptyRow(System.Int32,System.Int32,System.Boolean)">NextNonEmptyRow(int, int, bool)</h4>
<div class="markdown level1 summary"><p>Gets the index of the next row that contains a style setting for the specified column in the model.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">int NextNonEmptyRow(int row, int column, bool foreColor)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function NextNonEmptyRow(row As Integer, column As Integer, foreColor As Boolean) 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">row</span></td>
      <td><p>Row index to start searching after (-1 to start at row 0)</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">column</span></td>
      <td><p>The column index.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">foreColor</span></td>
      <td><p>if set to <code>true</code> forecolor.</p>
</td>
    </tr>
  </tbody>
</table>
<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="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><p>Row index of next non-empty row</p>
</td>
    </tr>
  </tbody>
</table>
</div>
