DataGridView.DisplayedRowCount(Boolean) 方法

定义

返回向用户显示的行数。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

参数

includePartialRow
Boolean

如果要包括显示行数中的部分行,为 true;否则为 falsetrue to include partial rows in the displayed row count; otherwise, false.

返回

向用户显示的行数。The number of rows displayed to the user.

适用于