VGridControlBase.GetLastVisible() Method
Returns the last visible row.
Namespace: DevExpress.XtraVerticalGrid
Assembly: DevExpress.XtraVerticalGrid.v19.1.dll
Declaration
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:
- all rows are hidden;
- the vertical grid has no rows (its VGridControlBase.Rows collection is empty).
Related GitHub Examples
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.