Version

ReportPagePresenter Class

Represents one page in a Report
Syntax
'Declaration
 
Public Class ReportPagePresenter 
   Inherits System.Windows.Controls.HeaderedContentControl
public class ReportPagePresenter : System.Windows.Controls.HeaderedContentControl 
Remarks

An instance of this element is created internally by each Infragistics.Windows.Reporting.ReportSection to represent a page in the report. It's Margin property is set based on the ReportSettings's Infragistics.Windows.Reporting.ReportSettings.Margin.

Styling, templates, header content and footer content can be specified for the entire report by setting the following properties on Infragistics.Windows.Reporting.ReportBase:

The same set of properties is exposed by Infragistics.Windows.Reporting.ReportSection to override these defaults on a section by section basis.

Note: if an object implements the Infragistics.Windows.Reporting.IEmbeddedVisualPaginator or Infragistics.Windows.Reporting.IEmbeddedVisualPaginatorFactory interface, e.g. a XamDataGrid, and it is inside an EmbeddedVisualReportSection as each page is returned from EmbeddedVisualReportSection.GetPage the DataContext of the ReportPagePresenter will be set to value returned from Infragistics.Windows.Reporting.IEmbeddedVisualPaginator.CurrentPageDataContext. In the case of a XamDataGrid this will be the first Record on the page.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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