Skip to main content

VGridControlBase.GetRowByFieldName(String) Method

Returns a row by the name of the field which it’s bound to.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

public BaseRow GetRowByFieldName(
    string fieldName
)

Parameters

Name Type Description
fieldName String

A String value which specifies the name of the field in the data source.

Returns

Type Description
BaseRow

A BaseRow descendant which represents the row bound to the data source field with the specified name. null (Nothing in Visual Basic) if no row is found.

Remarks

The GetRowByFieldName method scans the rows within the vertical grid at all nesting levels for a row whose RowProperties.FieldName property matches the fieldName parameter.

See Also