Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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