VGridControlBase.GetRowByName(String) Method

Returns the BaseRow with the specified BaseRow.Name property value.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll

Declaration

public BaseRow GetRowByName(
    string name
)
Public Function GetRowByName(
    name As String
) As BaseRow

Parameters

Name Type Description
name String

The string value specifying the name of the row to return.

Returns

Type Description
BaseRow

The BaseRow descendant with the specified BaseRow.Name property value. null (Nothing in Visual Basic) if no row is found.

Remarks

The GetRowByName method returns the first item with the specified BaseRow.Name property value found in the VGridControlBase.Rows collection. This method returns null (Nothing in Visual Basic) if no row is found.

See Also