# FarPoint.Web.Spread.LayoutCells.Item

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Spread_LayoutCells_Item_" data-uid="FarPoint.Web.Spread.LayoutCells.Item*">this Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Spread_LayoutCells_Item_" data-uid="FarPoint.Web.Spread.LayoutCells.Item*"></a>
<h4 id="FarPoint_Web_Spread_LayoutCells_Item_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.LayoutCells.Item(System.Int32,System.Int32)">this[int, int]</h4>
<div class="markdown level1 summary"><p>Gets a new cell for the specified row and column.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public LayoutCell this[int row, int column] { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public ReadOnly Default Property Item(row As Integer, column As Integer) As LayoutCell</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</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>Column index</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.indexoutofrangeexception">IndexOutOfRangeException</a></td>
      <td><p>Specified row index is out of range. It must be less than the row count or -1 for all.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.indexoutofrangeexception">IndexOutOfRangeException</a></td>
      <td><p>Specified column index is out of range. It must be less than the column count or -1 for all.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_LayoutCells_Item_" data-uid="FarPoint.Web.Spread.LayoutCells.Item*"></a>
<h4 id="FarPoint_Web_Spread_LayoutCells_Item_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.LayoutCells.Item(System.Int32,System.Int32,System.Int32,System.Int32)">this[int, int, int, int]</h4>
<div class="markdown level1 summary"><p>Gets a new cell for the range of cells of the specified rows and columns.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public LayoutCell this[int row, int column, int row2, int column2] { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public ReadOnly Default Property Item(row As Integer, column As Integer, row2 As Integer, column2 As Integer) As LayoutCell</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>Starting row index</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>Starting column index</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">row2</span></td>
      <td><p>Ending row index</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">column2</span></td>
      <td><p>Ending column index</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.indexoutofrangeexception">IndexOutOfRangeException</a></td>
      <td><p>Specified starting row index is out of range. It must be between 0 and the total number of rows.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.indexoutofrangeexception">IndexOutOfRangeException</a></td>
      <td><p>Specified starting column index is out of range. It must be between 0 and the total number of columns.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.indexoutofrangeexception">IndexOutOfRangeException</a></td>
      <td><p>Specified ending row index is out of range. It must be between the starting row index and the total number of rows.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.indexoutofrangeexception">IndexOutOfRangeException</a></td>
      <td><p>Specified ending column index is out of range. It must be between the starting column index and the total number of columns.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
