Skip to main content

TcxCustomVerticalGrid.PrevVisibleRow(TcxCustomRow) Method

Returns the previous visible row to the one specified.

Declaration

function PrevVisibleRow(ARow: TcxCustomRow): TcxCustomRow;

Parameters

Name Type
ARow TcxCustomRow

Returns

Type
TcxCustomRow

Remarks

The ARow parameter specifies the grid row after the one required.

Note

if the row specified is the first visible row within the visible rows collection, the method returns nil. You should always check the return value against nil before using the object returned. If the ARow parameter value is nil, this method returns the LastVisibleRow.

This method is useful when it is necessary to iterate backwards through the collection of visible rows. To do this for all rows within the control, you should use the PrevRow method instead.

See Also