Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid.Print Namespace / DataGridPaginator Class / PageCount Property


In This Topic
    PageCount Property
    In This Topic
    Gets the number of pages that are currently formatted.
    Syntax
    'Declaration
     
    Public Overrides ReadOnly Property PageCount As Integer
    'Usage
     
    Dim instance As DataGridPaginator
    Dim value As Integer
     
    value = instance.PageCount
    public override int PageCount {get;}

    Property Value

    A value representing the number of pages that are currently formatted.
    Remarks
    If IsPageCountValid returns true, pagination is complete and PageCount is the total number of pages in the document. If false, pagination is in progress and PageCount is the number of pages currently formatted (not the total). This value may change if the PageSize or content changes since these events would force a repagination.
    Requirements

    Target Platforms: Windows 11, Windows, 10, 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