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: