Skip to main content

GridColumn Class

An abstract class that serves as the base class for grid columns.

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll


public abstract class GridColumn :


DataGridView represents fields of the bound data source as columns. An individual column is a GridColumn class descendant that corresponds to the type of data this column displays. The column’s FieldName property specifies the associated data source’s field.

The GridColumn class implements the basic functionality for a grid column. It provides properties to adjust column settings…

… and manage grid data:

The grid stores its columns in the Columns collection. It automatically generates columns based on the bound data source (AutoGenerateColumnsMode), or you can add columns to the grid and associate them with data fields manually. To create a column, do not create an instance of the GridColumn class directly, use its descendant instead. See the example Create Columns for Different Data Types.

See Also