Skip to main content
A newer version of this page is available. .

VGridRows.ColumnByFieldName(String) Method

Returns a row specified by its bound field name in the data source.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v18.2.dll

Declaration

public virtual BaseRow ColumnByFieldName(
    string fieldName
)

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