Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GridColumn Class

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

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

#Declaration

C#
public abstract class GridColumn :
    BindableObject,
    IDataGrid.IColumn,
    IAppearanceOwner

#Remarks

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