# DataGridViewCellStyleScopes

Namespace: **Wisej.Web**

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

Specifies the scope (the type of object) that owns the cell style.

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

```csharp
public enum DataGridViewCellStyleScopes : Enum
```

{% endtab %}

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

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

{% endtab %}
{% endtabs %}

## Fields

| Name             | Description                                    |
| ---------------- | ---------------------------------------------- |
| **Cell**         | The style is applied to single cell.           |
| **Column**       | The style is applied to column.                |
| **ColumnHeader** | The style is applied to a column header.       |
| **DataGridView** | The style is applied to the data grid control. |
| **None**         | The owning type is not specified.              |
| **Row**          | The style is applied to a row.                 |
| **RowHeader**    | The style is applied to a row header.          |

## Used By

| Name                                                                                                                      | Description                                                      |
| ------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- |
| [DataGridViewCellStyle.Scope](https://docs.wisej.com/api/wisej.web/lists-and-grids/wisej.web.datagridviewcellstyle#scope) | Returns the scope (the type of object) that owns the cell style. |
