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

TcxCustomVerticalGrid.LastVisibleRow Method

Returns the last visible row.

#Declaration

Delphi
function LastVisibleRow: TcxCustomRow;

#Returns

Type
TcxCustomRow

#Remarks

Use LastVisibleRow to get the last visible row within the control. The method’s implementation ensures that the row returned has its Visible property set to True and the row is not hidden within a collapsed row (see IsRowVisible).

Note: that if the vertical grid control does not contain any visible rows the method returns nil, so you should always consider checking the return value against nil before using the row returned.

Additionally, you can get the last row within the control’s row collection via the LastRow method.

See Also