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

VGridRows.LastVisible Property

Gets the last row from the collection whose BaseRow.Visible property is true.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

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

#Declaration

public BaseRow LastVisible { get; }

#Property Value

Type Description
BaseRow

A BaseRow object representing the last row whose BaseRow.Visible property is true.

#Remarks

You can use the LastVisible property to obtain the last row from the rows collection whose BaseRow.Visible property is set to true.

The search starts from the end of the collection and is performed in reverse order. The first occurence of a row with the BaseRow.Visible property set to true is returned. If there is no such row, this property contains a null reference (Nothing in Visual Basic).

See Also