Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / PagerInfo Class / PageCount Property
Example


In This Topic
    PageCount Property
    In This Topic
    Gets or sets the number of page numbers displayed with the page navigation.
    Syntax
    'Declaration
     
    
    Public Property PageCount As Integer
    'Usage
     
    
    Dim instance As PagerInfo
    Dim value As Integer
     
    instance.PageCount = value
     
    value = instance.PageCount
    public int PageCount {get; set;}

    Property Value

    Integer count of page numbers displayed
    Remarks

    If the number of pages on a sheet exceeds the value specified by this property, an ellipsis (...) button indicating more pages are available is displayed in the navigation aids next to the page numbers. If the number of pages on a sheet is less than the number specified, then only those page numbers are displayed; for example if there are 100 rows on the sheet and 20 rows per page, then only 5 pages are needed, so only page numbers 1 through 5 are displayed, even if the property is set to a number greater than 5.

    Example
    See Also