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

VGridControlBase.GetLastVisible() Method

Returns the last visible row.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

#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:

See Also