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.v20.2.dll

Declaration

public GridColumn AddUnboundColumn()
Public Function AddUnboundColumn As GridColumn

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