BandedGridColumnCollection.AddVisible(String, String) Method
In This Article
Adds a new column with the specified caption, binds it to the specified field, and makes this column visible.
Namespace: DevExpress.XtraGrid.Views.BandedGrid
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
public BandedGridColumn AddVisible(
string fieldName,
string caption
)
#Parameters
Name | Type | Description |
---|---|---|
field |
String | A string that specifies the name of the field to which to bind the column. This value is assigned to the Field |
caption | String | A string that specifies the column’s caption. This value is assigned to the Caption property. |
#Returns
Type | Description |
---|---|
Banded |
The created column. |
See Also