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

GridView.AddUnboundColumn() Method

Creates an unbound column with an empty display caption and opens the Expression Editor to allow an end-user to specify an expression for the column.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#Declaration

public GridColumn AddUnboundColumn()

#Returns

Type Description
GridColumn

The created unbound column. null if an end-user didn’t specify an expression for the column.

#Remarks

The method redirects the call to the AddUnboundColumn(string columnName, string caption) overload. The columnName parameter, which specifies the created column’s GridColumn.Name, is set to a unique value. The caption parameter, which specifies the column’s GridColumn.Caption, is set to an empty string.

See this GridView.AddUnboundColumn overload topic for more details.

See Also