LayoutViewColumnCollection.ColumnByName(String) Method
Returns a column by its name.
Namespace: DevExpress.XtraGrid.Columns
Assembly: DevExpress.XtraGrid.v25.1.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| columnName | String | A String value specifying the column name. |
Returns
| Type | Description |
|---|---|
| LayoutViewColumn | A LayoutViewColumn object representing a column with the specified name. null (Nothing in Visual Basic) if no column is found. |
Remarks
This method is equivalent to the GridColumnCollection.ColumnByName method.
See Also