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

VGridControlBase.GetRowByFieldName(String) Method

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

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v18.2.dll

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the GetRowByFieldName(String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also