Skip to main content
A newer version of this page is available. .

VGridControlBase.GetLastVisible() Method

Returns the last visible row.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v19.2.dll

Declaration

public BaseRow GetLastVisible()

Returns

Type Description
BaseRow

A BaseRow descendant that represents the last visible row. null (Nothing in Visual Basic) if no visible row is found.

Remarks

The GetLastVisible method traverses through the grid’s VGridControlBase.Rows collection and return’s the last element whose BaseRow.Visible property is set to true. This method returns a null reference in the cases listed below:

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetLastVisible() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also