ListView.SetPageProperties(Int32, Int32, Boolean) Method

Definition

Sets the properties of a page of data in the ListView control.

C#
protected virtual void SetPageProperties(int startRowIndex, int maximumRows, bool databind);

Parameters

startRowIndex
Int32

The index of the first record on the page.

maximumRows
Int32

The maximum number of items on a single page.

databind
Boolean

true to rebind the control after the properties are set; otherwise, false.

Exceptions

maximumRows is less than 1.

-or-

startRowIndex is less than 0.

Applies to

Produkt Verzie
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also