Back to Devexpress

VGridControlBase.GetLastVisible() Method

windowsforms-devexpress-dot-xtraverticalgrid-dot-vgridcontrolbase-a4cb1c8d.md

latest2.3 KB
Original Source

VGridControlBase.GetLastVisible() Method

Returns the last visible row.

Namespace : DevExpress.XtraVerticalGrid

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

csharp
public BaseRow GetLastVisible()
vb
Public Function GetLastVisible As BaseRow

Returns

TypeDescription
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

GetFirstVisible()

GetPrevVisible(BaseRow)

GetNextVisible(BaseRow)

Cells

VGridControlBase Class

VGridControlBase Members

DevExpress.XtraVerticalGrid Namespace