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

Declaration

public GridColumn AddVisible(
    string fieldName
)
Public Function AddVisible(
    fieldName As String
) As GridColumn

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