VGridRows.ColumnByFieldName(String) Method
Returns a row specified by its bound field name in the data source.
Namespace: DevExpress.XtraVerticalGrid.Rows
Assembly: DevExpress.XtraVerticalGrid.v24.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid
Declaration
Parameters
Name | Type | Description |
---|---|---|
fieldName | String | A string value representing the row’s bound field name. |
Returns
Type | Description |
---|---|
BaseRow | A BaseRow object specifying the row bound to the specified field. null (Nothing in Visual Basic) if the collection has no row bound to the field. |
Remarks
The ColumnByFieldName method scans the collection starting from the first element and returns the first row found whose RowProperties.FieldName property matches the parameter value.
To find a row by its name, use the VGridRows.RowByName method.
See Also