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 |
---|---|
Grid |
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.