# Column

The **DataGridViewColumn** class represents a logical column in a **DataGridView** control. You can retrieve columns through the **Columns** collection of the control.

Unlike a **DataGridViewRow**, which contains the actual collection of cells in a **DataGridView**, **DataGridViewColumn** is used mainly to adjust the appearance and behavior of the column user interface (UI), such as column width and cell style.

Types that derive from **DataGridViewColumn** typically initialize the **CellTemplate** property to a new instance of a related type derived from the **DataGridViewCell** class. Any column properties that relate to the appearance or behavior of individual cells are wrappers for the corresponding properties of the template cell. Changing one of these properties on the column automatically changes the value on the cell template and on all cells in the column. To override the specified value for individual cells, set the cell values after you set the column value.

{% hint style="info" %}
For a full list of properties, methods and events see the [API documentation](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/wisej.web.datagridviewcolumn).
{% endhint %}
