Rediger

Del via


ListView.MaximumRows Property

Definition

Gets the maximum number of items to display on a single page of the ListView control.

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

Property Value

The maximum number of items to display on a single page of the ListView control.

Remarks

If a DataPager object is associated with the ListView control, the MaximumRows property value is controlled by the DataPager object, and it is same as the PageSize property value. Otherwise, the value is -1.

Applies to

See also