# DataGridViewSelectionMode

Namespace: **Wisej.Web**

Assembly: **Wisej.Framework** (4.0.0.0)

Describes how cells of a DataGridView control can be selected.

{% tabs %}
{% tab title="C#" %}

```csharp
public enum DataGridViewSelectionMode : Enum
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Enum DataGridViewSelectionMode As [Enum]
```

{% endtab %}
{% endtabs %}

## Fields

| Name                      | Description                                                                                                                      |
| ------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| **CellSelect**            | One or more individual cells can be selected.                                                                                    |
| **ColumnHeaderSelect**    | The column will be selected by clicking in the column's header cell. An individual cell can be selected by clicking that cell.   |
| **FullColumnSelect**      | The entire column will be selected by clicking the column's header or a cell contained in that column.                           |
| **FullRowSelect**         | The entire row will be selected by clicking its row's header or a cell contained in that row.                                    |
| **NoSelection**           | Selection is disabled.                                                                                                           |
| **RowColumnHeaderSelect** | The column or the row will be selected by clicking on the header cell. An individual cell can be selected by clicking that cell. |
| **RowHeaderSelect**       | The row will be selected by clicking in the row's header cell. An individual cell can be selected by clicking that cell.         |

## Used By

| Name                                                                                                             | Description                                                                                                                                                |
| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [DataGridView.SelectionMode](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/..#selectionmode) | Returns or sets a value indicating how the cells of the [DataGridView](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview) can be selected. |
