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

Définition

Définit les propriétés d'une page de données dans le contrôle ListView.

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)

Paramètres

startRowIndex
Int32

Index du premier enregistrement sur la page.

maximumRows
Int32

Nombre maximal d'éléments sur une même page.

databind
Boolean

true pour relier le contrôle après que les propriétés ont été définies ; sinon, false.

Exceptions

maximumRows est inférieur à 1.

  • ou -

startRowIndex est inférieur à 0.

S’applique à

Voir aussi