VGridControlBase.GetLastVisible() Method
Returns the last visible row.
Namespace: DevExpress.XtraVerticalGrid
Assembly: DevExpress.XtraVerticalGrid.v24.2.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).
See Also