Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.Reporting.v4.3 Assembly / Xceed.Grid.Reporting Namespace / QueryVariableTextEventArgs Class / TotalPageNumber Property


    TotalPageNumber Property
    Gets the total number of pages in the report.
    Syntax
    'Declaration
     
    Public ReadOnly Property TotalPageNumber As Integer
     
    'Usage
     
    Dim instance As QueryVariableTextEventArgs
    Dim value As Integer
     
    value = instance.TotalPageNumber

    Property Value

    A value representing the total number of pages in the report.
    Remarks

    The value of the TotalPageNumber property will be -1 if the value will not be calculated, 0 if the report has not yet begun (for example, the %DATETIME% variable has not yet been evaluated), and 9999 if the total number of pages is being calculated.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also