Redigera

Dela via


ListView.SetPageProperties(Int32, Int32, Boolean) Method

Definition

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

protected:
 virtual void SetPageProperties(int startRowIndex, int maximumRows, bool databind);
protected virtual void SetPageProperties (int startRowIndex, int maximumRows, bool databind);
abstract member SetPageProperties : int * int * bool -> unit
override this.SetPageProperties : int * int * bool -> unit
Protected Overridable Sub SetPageProperties (startRowIndex As Integer, maximumRows As Integer, databind As Boolean)

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

See also