VGridControlBase.GetFirstVisible() Method
Returns the first visible row.
Namespace: DevExpress.XtraVerticalGrid
Assembly: DevExpress.XtraVerticalGrid.v24.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid
Declaration
Returns
Type | Description |
---|---|
BaseRow | A BaseRow descendant that represents the first visible row. null (Nothing in Visual Basic) if no visible row is found. |
Remarks
The GetFirstVisible method traverses through the grid’s VGridControlBase.Rows collection and return’s the first 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