# Selection

## Content

List supports various ways of item selection through mouse or keyboard. Let us explore these ways.

## Selection Modes

By default, List allows selection of an entire row or column by clicking the corresponding header. However, the default behavior can be changed to allow selection in units of rows, columns, etc., by using <span data-popup-content="This property is available in \u003ca href=\u0022/componentone/docs/win/online-list/\u0022\u003e.NET\u003c/a\u003e and \u003ca href=\u0022/componentone/docs/win/online-list/\u0022\u003e.NET Framework\u003c/a\u003e." data-popup-title="SelectionMode" data-popup-theme="ui-tooltip-green qtip-green">SelectionMode</span> property of the <span data-popup-content="This class is available in \u003ca href=\u0022/componentone/docs/win/online-list/\u0022\u003e.NET\u003c/a\u003e and \u003ca href=\u0022/componentone/docs/win/online-list/\u0022\u003e.NET Framework\u003c/a\u003e." data-popup-title="C1List" data-popup-theme="ui-tooltip-green qtip-green">C1List</span> class. The property accepts values from the [SelectionModeEnum](/componentone/api/win/online-list/dotnet-api/C1.Win.List.10/C1.Win.List.SelectionModeEnum.html) enumeration.

The following table provides a brief description and a quick snapshot of how selection looks like in each of these modes.

| **Selection Mode** | **Description** | **Snapshot** |
| -------------- | ----------- | -------- |
| Default | Allows selection of an entire row or column by clicking the corresponding header. | ![One Selection mode](https://cdn.mescius.io/document-site-files/images/1e4aa2c8-7f81-4e43-8ed4-f673f1e68381/images/one-selection.png) |
| One | Allows selection of one list item. | ![One Selection mode](https://cdn.mescius.io/document-site-files/images/1e4aa2c8-7f81-4e43-8ed4-f673f1e68381/images/one-selection.png) |
| MultiExtended | Allows selection of multiple list items by pressing the Shift key. | ![Multi Extended Selection mode](https://cdn.mescius.io/document-site-files/images/1e4aa2c8-7f81-4e43-8ed4-f673f1e68381/images/muktiext-selection.png) |
| Checkbox | Allows selecion of list items using checkboxs. | ![Checkbox selection mode](https://cdn.mescius.io/document-site-files/images/1e4aa2c8-7f81-4e43-8ed4-f673f1e68381/images/checkbox_selection.png) |
| MultiSimple | Allows selection of non-contiguous list items and returns a bookmark for the selected row. | ![MultiSimple selection mode](https://cdn.mescius.io/document-site-files/images/1e4aa2c8-7f81-4e43-8ed4-f673f1e68381/images/multisimple-selection.png) |

The following code snippet demonstrates how to enable checkbox selection by setting **SelectionMode** to **Checkbox**.

```csharp
c1List1.SelectionMode = C1.Win.List.SelectionModeEnum.CheckBox;
```