Back to Devexpress

VGridRows.RowByName(String) Method

windowsforms-devexpress-dot-xtraverticalgrid-dot-rows-dot-vgridrows-dot-rowbyname-x28-system-dot-string-x29.md

latest2.2 KB
Original Source

VGridRows.RowByName(String) Method

Returns a row specified by its name.

Namespace : DevExpress.XtraVerticalGrid.Rows

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

csharp
public virtual BaseRow RowByName(
    string columnName
)
vb
Public Overridable Function RowByName(
    columnName As String
) As BaseRow

Parameters

NameTypeDescription
columnNameString

A string value specifying the row’s name.

|

Returns

TypeDescription
BaseRow

A BaseRow object representing a row with the specified name. null ( Nothing in Visual Basic) if the collection doesn’t contain a column with the specified name.

|

Remarks

The RowByName method scans the collection starting from the first element and returns the first row found whose BaseRow.Name property matches the parameter value.

To find a row by its bound field’s name, use the VGridRows.ColumnByFieldName method.

See Also

ColumnByFieldName(String)

VGridRows Class

VGridRows Members

DevExpress.XtraVerticalGrid.Rows Namespace