ListView.MaximumRows 属性

定义

获取要在 ListView 控件的单个页上显示的最大项数。

protected:
 virtual property int MaximumRows { int get(); };
protected virtual int MaximumRows { get; }
member this.MaximumRows : int
Protected Overridable ReadOnly Property MaximumRows As Integer

属性值

Int32

要在 ListView 控件的单个页上显示的最大项数。

注解

如果对象 DataPagerListView 控件相关联,则 MaximumRows 属性值由 DataPager 该对象控制,并且与属性值相同 PageSize 。 否则,值为 -1。

适用于

另请参阅