# GridColumn class

Namespace: [Eto.Forms](https://eto.picoe.ca/api/namespace/eto.forms.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
[Handler(GridColumn.IHandler)]
[ContentProperty("DataCell")]
public class GridColumn : Widget
```

Grid column definition for a [Grid](https://eto.picoe.ca/api/type/eto.forms.grid.md)

## Properties

- [AutoSize](https://eto.picoe.ca/api/type/eto.forms.gridcolumn/autosize.md): Gets or sets a value indicating whether this column will auto size to the content of the grid.
- [CellToolTipBinding](https://eto.picoe.ca/api/type/eto.forms.gridcolumn/celltooltipbinding.md): Gets or sets the binding to use to get the tooltip for each cell in this column.
- [DataCell](https://eto.picoe.ca/api/type/eto.forms.gridcolumn/datacell.md): Gets or sets the cell for the content of the column.
- [DisplayIndex](https://eto.picoe.ca/api/type/eto.forms.gridcolumn/displayindex.md): Gets or sets the index of the column in display order, or -1 to use the order they are added.
- [Editable](https://eto.picoe.ca/api/type/eto.forms.gridcolumn/editable.md): Gets or sets a value indicating whether the user can edit the contents of the cells, if the [GridColumn.DataCell](https://eto.picoe.ca/api/type/eto.forms.gridcolumn/datacell.md) allows it.
- [Expand](https://eto.picoe.ca/api/type/eto.forms.gridcolumn/expand.md): Gets or sets a value indicating whether this column should expand to fill the available space in the Grid
- [HeaderText](https://eto.picoe.ca/api/type/eto.forms.gridcolumn/headertext.md): Gets or sets the text to display in the header of the column.
- [HeaderTextAlignment](https://eto.picoe.ca/api/type/eto.forms.gridcolumn/headertextalignment.md): Gets or sets a value to specify the header text alignment for this column
- [HeaderToolTip](https://eto.picoe.ca/api/type/eto.forms.gridcolumn/headertooltip.md): Gets or sets the tooltip to display when the user moves the cursor over the header of this column.
- [MaxWidth](https://eto.picoe.ca/api/type/eto.forms.gridcolumn/maxwidth.md): Gets or sets the maximum width for the column
- [MinWidth](https://eto.picoe.ca/api/type/eto.forms.gridcolumn/minwidth.md): Gets or sets the minimum width for the column
- [Resizable](https://eto.picoe.ca/api/type/eto.forms.gridcolumn/resizable.md): Gets or sets a value indicating whether the column is resizable by the user.
- [Sortable](https://eto.picoe.ca/api/type/eto.forms.gridcolumn/sortable.md): Gets or sets a value indicating whether the user can click on the header.
- [Visible](https://eto.picoe.ca/api/type/eto.forms.gridcolumn/visible.md): Gets or sets a value indicating whether this column is visible.
- [Width](https://eto.picoe.ca/api/type/eto.forms.gridcolumn/width.md): Gets or sets the initial width of the column.

## Inherited Members

- From [Widget](https://eto.picoe.ca/api/type/eto.widget.md): [ControlObject](https://eto.picoe.ca/api/type/eto.widget/controlobject.md), [Handler](https://eto.picoe.ca/api/type/eto.widget/handler.md), [ID](https://eto.picoe.ca/api/type/eto.widget/id.md), [IsDisposed](https://eto.picoe.ca/api/type/eto.widget/isdisposed.md), [NativeHandle](https://eto.picoe.ca/api/type/eto.widget/nativehandle.md), [Platform](https://eto.picoe.ca/api/type/eto.widget/platform.md), [Properties](https://eto.picoe.ca/api/type/eto.widget/properties.md), [Style](https://eto.picoe.ca/api/type/eto.widget/style.md), [StyleChanged](https://eto.picoe.ca/api/type/eto.widget/stylechanged.md), [Dispose](https://eto.picoe.ca/api/type/eto.widget/dispose.md), [GetCallback](https://eto.picoe.ca/api/type/eto.widget/getcallback.md), [Initialize](https://eto.picoe.ca/api/type/eto.widget/initialize.md), [OnStyleChanged](https://eto.picoe.ca/api/type/eto.widget/onstylechanged.md), [ToString](https://eto.picoe.ca/api/type/eto.widget/tostring.md)
