# C1.WPF.ListView.C1ListView.SelectionMode

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_ListView_C1ListView_SelectionMode_" data-uid="C1.WPF.ListView.C1ListView.SelectionMode*">SelectionMode Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_ListView_C1ListView_SelectionMode_" data-uid="C1.WPF.ListView.C1ListView.SelectionMode*"></a>
<h4 id="C1_WPF_ListView_C1ListView_SelectionMode" data-uid="C1.WPF.ListView.C1ListView.SelectionMode">SelectionMode</h4>
<div class="markdown level1 summary"><p>Gets or sets the selection behavior. The default is single selection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1SelectionMode SelectionMode { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property SelectionMode As C1SelectionMode</code></pre>
</div>
<h5 id="C1_WPF_ListView_C1ListView_SelectionMode_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>By default, end-user can select single item. You can change this property value to allow multiple selection or disable selection.
Here are the supported selection modes.</p>
<table><tbody><tr><td class="term">None</td><td class="description">Item selection is disabled.</td></tr><tr><td class="term">Single</td><td class="description">
  <p><strong>With no modifier keys</strong></p><ul><li>A user can select a single item using the space bar, mouse click, or touch tap.</li><li>A user can deselect an item using a downward swipe gesture.</li></ul>
  <p><strong>While pressing Ctrl</strong></p><ul><li>A user can deselect the item by using the space bar, mouse click, or touch tap.</li><li>Using the arrow keys, a user can move focus independently of selection.</li></ul>
</td></tr><tr><td class="term">Multiple</td><td class="description">
  <p><strong>With no modifier keys</strong></p><ul><li>A user can select multiple items using the space bar, mouse click, or touch tap to toggle selection on the focused item.</li><li>Using the arrow keys, a user can move focus independently of selection.</li></ul>
</td></tr><tr><td class="term">Extended</td><td class="description">
  <p><strong>With no modifier keys</strong></p><ul><li>The behavior is the same as Single selection.</li></ul>
  <p><strong>While pressing Ctrl</strong></p><ul><li>A user can select multiple items using the space bar, mouse click, or touch tap to toggle selection on the focused item. </li><li>Using the arrow keys, a user can move focus independently of selection.</li></ul>
  <p><strong>While pressing Shift</strong></p><ul><li>A user can select multiple contiguous items by clicking or tapping the first item in the selection and then the last item in the selection.</li><li>Using the arrow keys, a user can create a contiguous selection starting with the item selected when Shift is pressed.</li></ul>
</td></tr></tbody></table>
</div>
</div>
