ListView.SetPageProperties(Int32, Int32, Boolean) Método

Definição

Define as propriedades de uma página de dados no controle ListView.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)

Parâmetros

startRowIndex
Int32

O índice do primeiro registro na página.The index of the first record on the page.

maximumRows
Int32

O número máximo de itens em uma única página.The maximum number of items on a single page.

databind
Boolean

true para reassociar o controle depois que as propriedades são definidas; caso contrário, false.true to rebind the control after the properties are set; otherwise, false.

Exceções

maximumRows é menor que 1.maximumRows is less than 1.

- ou --or-

startRowIndex é menor que 0.startRowIndex is less than 0.

Aplica-se a