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

DataGridView.VisibleRowCount Property

Gets the total number of rows displayed within a grid.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

#Declaration

C#
public int VisibleRowCount { get; }

#Property Value

Type Description
Int32

The number of rows displayed in a grid.

#Remarks

The VisibleRowCount property returns the total number of group rows (if data is grouped) and data rows that are not hidden within collapsed groups, including rows located outside the current viewport area.

See Also