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

VGridRows.ColumnByFieldName(String) Method

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

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

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

#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