This property is used to set the content of the footer used inside the ReportPagePresenter element, in the Infragistics.Wpf.Reporting assembly.
Note: this property takes precedence over the setting on the ReportBase's ReportBase.PageFooter.
Private Sub SetReportSettings() Dim reportObj As New Report() Dim section As New EmbeddedVisualReportSection(XamDataGrid1) reportObj.Sections.Add(section) ' set footer template for section only section.PageFooterTemplate = TryCast(Me.Resources("PagePresenterFooterTemplate"), DataTemplate) ' set footer data for section only section.PageFooter = "MyFooter" reportObj.Print(False) End Sub
private void SetReportSettings() { Report reportObj = new Report(); EmbeddedVisualReportSection section = new EmbeddedVisualReportSection(XamDataGrid1); reportObj.Sections.Add(section); // set footer template for section only reportObj.PageFooterTemplate = this.Resources["PagePresenterFooterTemplate"] as DataTemplate; // set footer data for section only reportObj.PageFooter = "MyFooter"; reportObj.Print(false); }
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