Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataGridView::DisplayedRowCount Method (Boolean)

 

Returns the number of rows displayed to the user.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
int DisplayedRowCount(
	bool includePartialRow
)

Parameters

includePartialRow
Type: System::Boolean

true to include partial rows in the displayed row count; otherwise, false.

Return Value

Type: System::Int32

The number of rows displayed to the user.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft