PagedDataSource.PageCount Eigenschap

Definitie

Hiermee haalt u het totale aantal pagina's op dat nodig is om alle items in de gegevensbron weer te geven.

public:
 property int PageCount { int get(); };
public int PageCount { get; }
member this.PageCount : int
Public ReadOnly Property PageCount As Integer

Waarde van eigenschap

Het aantal pagina's dat nodig is om alle items in de gegevensbron weer te geven.

Opmerkingen

Gebruik de PageCount eigenschap om het aantal pagina's te bepalen dat nodig is om alle items in de gegevensbron weer te geven.

Note

Als de DataSource eigenschap is null, wordt 0 geretourneerd. Als de IsPagingEnabled eigenschap is ingesteld op false of de DataSourceCount eigenschap is ingesteld op 0 of kleiner, wordt 1 geretourneerd.

Van toepassing op

Zie ook