DataGridView.DisplayedRowCount(Boolean) Method

Definition

Returns the number of rows displayed to the user.

public:
 int DisplayedRowCount(bool includePartialRow);
public int DisplayedRowCount (bool includePartialRow);
member this.DisplayedRowCount : bool -> int
Public Function DisplayedRowCount (includePartialRow As Boolean) As Integer

Parameters

includePartialRow
Boolean

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

Returns

The number of rows displayed to the user.

Applies to