# C1.Web.Mvc.Grid.SelectionMode

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Web_Mvc_Grid_SelectionMode" data-uid="C1.Web.Mvc.Grid.SelectionMode" class="text-break">SelectionMode Enum
</h1>
  <div class="markdown level0 summary"><p>Gets or sets the current selection mode.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Grid.html">C1.Web.Mvc.Grid</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_Grid_SelectionMode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum SelectionMode</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum SelectionMode</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_Web_Mvc_Grid_SelectionMode_Cell">Cell</td>
        <td><p>The user can select only a single cell at a time.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Grid_SelectionMode_CellRange">CellRange</td>
        <td><p>The user can select contiguous blocks of cells.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Grid_SelectionMode_ListBox">ListBox</td>
        <td><p>The user can select non-contiguous rows by ctrl+clicking.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Grid_SelectionMode_MultiRange">MultiRange</td>
        <td><p>The user can select multiple ranges by ctrl+clicking and dragging the mouse.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Grid_SelectionMode_None">None</td>
        <td><p>The user cannot select cells with the mouse or keyboard.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Grid_SelectionMode_Row">Row</td>
        <td><p>The user can select a single row at a time.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Grid_SelectionMode_RowRange">RowRange</td>
        <td><p>The user can select contiguous rows.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
