VGridRows.ColumnByFieldName(String) Method

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

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll

Declaration

public virtual BaseRow ColumnByFieldName(
    string fieldName
)
Public Overridable Function ColumnByFieldName(
    fieldName As String
) As BaseRow

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