This documentation is archived and is not being maintained.

DynamicDocumentPaginator Class

Provides an abstract base class that supports automatic background pagination and tracking content positions across repaginations in addition to the methods and properties of its own base class.

Namespace:  System.Windows.Documents
Assembly:  PresentationCore (in PresentationCore.dll)

public ref class DynamicDocumentPaginator abstract : public DocumentPaginator
This class is abstract; see Inheritance Hierarchy for derived non-abstract classes usable in XAML.

By default, a DynamicDocumentPaginator will automatically pre-paginate content in the background (this process begins when IsBackgroundPaginationEnabled is true, which is the default setting).

When IsBackgroundPaginationEnabled is true, the layout will also be repaginated due to changes in content or changes in PageSize.

The PaginationProgress event occurs upon completion of pagination (or repagination) of one or more pages, such as in the following situations:

A PaginationCompleted event also occurs when background pagination is disabled. For example, if there is only one page of content and IsBackgroundPaginationEnabled = false), calling GetPage with an argument of 0 will result in two events:

  1. A PaginationProgress event with PaginationProgressEventArgs settings of Start = 0 and Count = 1.

  2. A PaginationCompleted event.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0