# FarPoint.Web.Spread.Model.BaseSheetSelectionModel

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_Model_BaseSheetSelectionModel" data-uid="FarPoint.Web.Spread.Model.BaseSheetSelectionModel" class="text-break">BaseSheetSelectionModel Class
</h1>
  <div class="markdown level0 summary"><p>Represents the partial (abstract) implementation of the ISheetSelectionModel interface
for a selection model for a sheet.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">BaseSheetSelectionModel</span></div>
      <div class="level2"><a class="xref" href="FarPoint.Web.Spread.Model.DefaultSheetSelectionModel.html">DefaultSheetSelectionModel</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="FarPoint.Web.Spread.Model.ISheetSelectionModel.html">ISheetSelectionModel</a></div>
  </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_BaseSheetSelectionModel_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class BaseSheetSelectionModel : ISheetSelectionModel</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class BaseSheetSelectionModel
    Implements ISheetSelectionModel</code></pre>
  </div>
  <h3 id="constructors">Constructors
</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_BaseSheetSelectionModel__ctor" data-uid="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.#ctor">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.-ctor.html#FarPoint_Web_Spread_Model_BaseSheetSelectionModel__ctor">BaseSheetSelectionModel()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <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_BaseSheetSelectionModel_AnchorColumn" data-uid="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.AnchorColumn">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.AnchorColumn.html#FarPoint_Web_Spread_Model_BaseSheetSelectionModel_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_BaseSheetSelectionModel_AnchorRow" data-uid="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.AnchorRow">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.AnchorRow.html#FarPoint_Web_Spread_Model_BaseSheetSelectionModel_AnchorRow">AnchorRow</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the row index of the first cell selected in the range.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_BaseSheetSelectionModel_Count" data-uid="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.Count">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.Count.html#FarPoint_Web_Spread_Model_BaseSheetSelectionModel_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number selections.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_BaseSheetSelectionModel_Item_System_Int32_" data-uid="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.Item(System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.Item.html#FarPoint_Web_Spread_Model_BaseSheetSelectionModel_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_BaseSheetSelectionModel_LeadColumn" data-uid="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.LeadColumn">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.LeadColumn.html#FarPoint_Web_Spread_Model_BaseSheetSelectionModel_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_BaseSheetSelectionModel_LeadRow" data-uid="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.LeadRow">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.LeadRow.html#FarPoint_Web_Spread_Model_BaseSheetSelectionModel_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_BaseSheetSelectionModel_SelectionPolicy" data-uid="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.SelectionPolicy">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.SelectionPolicy.html#FarPoint_Web_Spread_Model_BaseSheetSelectionModel_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_BaseSheetSelectionModel_AddSelection_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.AddSelection(System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.AddSelection.html#FarPoint_Web_Spread_Model_BaseSheetSelectionModel_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_BaseSheetSelectionModel_ClearSelection" data-uid="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.ClearSelection">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.ClearSelection.html#FarPoint_Web_Spread_Model_BaseSheetSelectionModel_ClearSelection">ClearSelection()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all of the selections from the sheet so that cells are no longer selected.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Model_BaseSheetSelectionModel_GetEnumerator" data-uid="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.GetEnumerator">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.GetEnumerator.html#FarPoint_Web_Spread_Model_BaseSheetSelectionModel_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_BaseSheetSelectionModel_IsAnyCellInColumnSelected_System_Int32_" data-uid="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.IsAnyCellInColumnSelected(System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.IsAnyCellInColumnSelected.html#FarPoint_Web_Spread_Model_BaseSheetSelectionModel_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_BaseSheetSelectionModel_IsAnyCellInRowSelected_System_Int32_" data-uid="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.IsAnyCellInRowSelected(System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.IsAnyCellInRowSelected.html#FarPoint_Web_Spread_Model_BaseSheetSelectionModel_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_BaseSheetSelectionModel_IsEmpty" data-uid="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.IsEmpty">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.IsEmpty.html#FarPoint_Web_Spread_Model_BaseSheetSelectionModel_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_BaseSheetSelectionModel_IsSelected_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.IsSelected(System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.IsSelected.html#FarPoint_Web_Spread_Model_BaseSheetSelectionModel_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_BaseSheetSelectionModel_RemoveSelection_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.RemoveSelection(System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.RemoveSelection.html#FarPoint_Web_Spread_Model_BaseSheetSelectionModel_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_BaseSheetSelectionModel_SetAnchor_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.SetAnchor(System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.SetAnchor.html#FarPoint_Web_Spread_Model_BaseSheetSelectionModel_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_BaseSheetSelectionModel_SetSelection_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.SetSelection(System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Model.BaseSheetSelectionModel.SetSelection.html#FarPoint_Web_Spread_Model_BaseSheetSelectionModel_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>
