Skip to main content
All docs
V24.1

LayoutViewColumnCollection.AddVisible(String) Method

Adds a new column, binds it to the specified field, and makes this column visible.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

public LayoutViewColumn AddVisible(
    string fieldName
)

Parameters

Name Type Description
fieldName String

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

Returns

Type Description
LayoutViewColumn

The created column.

See Also