# FarPoint.Web.Spread.Model.ISheetSelectionModel

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_Model_ISheetSelectionModel" data-uid="FarPoint.Web.Spread.Model.ISheetSelectionModel" class="text-break">ISheetSelectionModel Interface
</h1>
  <div class="markdown level0 summary"><p>Interface that supports creating a model that represents cell selection.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Web.Spread.Model.html">FarPoint.Web.Spread.Model</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Web.Spread.dll</h6>
  <h5 id="FarPoint_Web_Spread_Model_ISheetSelectionModel_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface ISheetSelectionModel</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface ISheetSelectionModel</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Web_Spread_Model_ISheetSelectionModel_AnchorColumn" data-uid="FarPoint.Web.Spread.Model.ISheetSelectionModel.AnchorColumn">
          <a class="xref" href="FarPoint.Web.Spread.Model.ISheetSelectionModel.AnchorColumn.html#FarPoint_Web_Spread_Model_ISheetSelectionModel_AnchorColumn">AnchorColumn</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the column index of the first cell in the selection of cells.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_ISheetSelectionModel_AnchorRow" data-uid="FarPoint.Web.Spread.Model.ISheetSelectionModel.AnchorRow">
          <a class="xref" href="FarPoint.Web.Spread.Model.ISheetSelectionModel.AnchorRow.html#FarPoint_Web_Spread_Model_ISheetSelectionModel_AnchorRow">AnchorRow</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the row index of the first cell in the selection of cells.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_ISheetSelectionModel_Count" data-uid="FarPoint.Web.Spread.Model.ISheetSelectionModel.Count">
          <a class="xref" href="FarPoint.Web.Spread.Model.ISheetSelectionModel.Count.html#FarPoint_Web_Spread_Model_ISheetSelectionModel_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of selection of cells.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_ISheetSelectionModel_Item_System_Int32_" data-uid="FarPoint.Web.Spread.Model.ISheetSelectionModel.Item(System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.ISheetSelectionModel.Item.html#FarPoint_Web_Spread_Model_ISheetSelectionModel_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an item in the model.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_ISheetSelectionModel_LeadColumn" data-uid="FarPoint.Web.Spread.Model.ISheetSelectionModel.LeadColumn">
          <a class="xref" href="FarPoint.Web.Spread.Model.ISheetSelectionModel.LeadColumn.html#FarPoint_Web_Spread_Model_ISheetSelectionModel_LeadColumn">LeadColumn</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the column index of the farthest cell in the selection of cells.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_ISheetSelectionModel_LeadRow" data-uid="FarPoint.Web.Spread.Model.ISheetSelectionModel.LeadRow">
          <a class="xref" href="FarPoint.Web.Spread.Model.ISheetSelectionModel.LeadRow.html#FarPoint_Web_Spread_Model_ISheetSelectionModel_LeadRow">LeadRow</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the row index of the farthest cell in the selection of cells.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_ISheetSelectionModel_SelectionPolicy" data-uid="FarPoint.Web.Spread.Model.ISheetSelectionModel.SelectionPolicy">
          <a class="xref" href="FarPoint.Web.Spread.Model.ISheetSelectionModel.SelectionPolicy.html#FarPoint_Web_Spread_Model_ISheetSelectionModel_SelectionPolicy">SelectionPolicy</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether users can select ranges of items.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Web_Spread_Model_ISheetSelectionModel_AddSelection_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Model.ISheetSelectionModel.AddSelection(System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.ISheetSelectionModel.AddSelection.html#FarPoint_Web_Spread_Model_ISheetSelectionModel_AddSelection_System_Int32_System_Int32_System_Int32_System_Int32_">AddSelection(int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a cell or cells to the selection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_ISheetSelectionModel_ClearSelection" data-uid="FarPoint.Web.Spread.Model.ISheetSelectionModel.ClearSelection">
          <a class="xref" href="FarPoint.Web.Spread.Model.ISheetSelectionModel.ClearSelection.html#FarPoint_Web_Spread_Model_ISheetSelectionModel_ClearSelection">ClearSelection()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the selection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_ISheetSelectionModel_GetEnumerator" data-uid="FarPoint.Web.Spread.Model.ISheetSelectionModel.GetEnumerator">
          <a class="xref" href="FarPoint.Web.Spread.Model.ISheetSelectionModel.GetEnumerator.html#FarPoint_Web_Spread_Model_ISheetSelectionModel_GetEnumerator">GetEnumerator()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an enumerator that can iterate through the selections.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_ISheetSelectionModel_IsAnyCellInColumnSelected_System_Int32_" data-uid="FarPoint.Web.Spread.Model.ISheetSelectionModel.IsAnyCellInColumnSelected(System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.ISheetSelectionModel.IsAnyCellInColumnSelected.html#FarPoint_Web_Spread_Model_ISheetSelectionModel_IsAnyCellInColumnSelected_System_Int32_">IsAnyCellInColumnSelected(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether any cell in a specified column is in the selection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_ISheetSelectionModel_IsAnyCellInRowSelected_System_Int32_" data-uid="FarPoint.Web.Spread.Model.ISheetSelectionModel.IsAnyCellInRowSelected(System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.ISheetSelectionModel.IsAnyCellInRowSelected.html#FarPoint_Web_Spread_Model_ISheetSelectionModel_IsAnyCellInRowSelected_System_Int32_">IsAnyCellInRowSelected(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether any cell in a specified row is in the selection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_ISheetSelectionModel_IsEmpty" data-uid="FarPoint.Web.Spread.Model.ISheetSelectionModel.IsEmpty">
          <a class="xref" href="FarPoint.Web.Spread.Model.ISheetSelectionModel.IsEmpty.html#FarPoint_Web_Spread_Model_ISheetSelectionModel_IsEmpty">IsEmpty()</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the model has no selections.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_ISheetSelectionModel_IsSelected_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Model.ISheetSelectionModel.IsSelected(System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.ISheetSelectionModel.IsSelected.html#FarPoint_Web_Spread_Model_ISheetSelectionModel_IsSelected_System_Int32_System_Int32_">IsSelected(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified cell is in the selection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_ISheetSelectionModel_RemoveSelection_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Model.ISheetSelectionModel.RemoveSelection(System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.ISheetSelectionModel.RemoveSelection.html#FarPoint_Web_Spread_Model_ISheetSelectionModel_RemoveSelection_System_Int32_System_Int32_System_Int32_System_Int32_">RemoveSelection(int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the specified selection range from the selection list, if one exists.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_ISheetSelectionModel_SetAnchor_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Model.ISheetSelectionModel.SetAnchor(System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.ISheetSelectionModel.SetAnchor.html#FarPoint_Web_Spread_Model_ISheetSelectionModel_SetAnchor_System_Int32_System_Int32_">SetAnchor(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the anchor (or first cell) in the selection of cells.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_ISheetSelectionModel_SetSelection_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Model.ISheetSelectionModel.SetSelection(System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.ISheetSelectionModel.SetSelection.html#FarPoint_Web_Spread_Model_ISheetSelectionModel_SetSelection_System_Int32_System_Int32_System_Int32_System_Int32_">SetSelection(int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Selects the specified cells.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
