A newer version of this page is available. Switch to the current version.

GridColumnCollection.AddVisible(String) Method

Adds a new column, binding it to the specified field and making this column visible.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v19.1.dll

Declaration

public GridColumn AddVisible(
    string fieldName
)

Parameters

Name Type Description
fieldName String

A string that specifies the name of the field to which to bind the created column. This value is assigned to the GridColumn.FieldName property.

Returns

Type Description
GridColumn

The created GridColumn object.

Remarks

The column created will be displayed after existing visible columns.

See Also