'Declaration Public Property FooterTemplate As DataTemplate
public DataTemplate FooterTemplate {get; set;}
Note: the Infragistics.Windows.Reporting.ReportSection uses its Infragistics.Windows.Reporting.ReportSection.PageFooterTemplate value to set this property. If that is null set it will use the value of the Report's Infragistics.Windows.Reporting.ReportBase.PageFooterTemplate property.
Private Sub SetPageFooterTemplate() Dim reportObj As Report = New Report() ..... Dim borderFactory As FrameworkElementFactory = New FrameworkElementFactory(Type.GetType(Border)) Dim buttonFactory As FrameworkElementFactory = New FrameworkElementFactory(Type.GetType(Button)) borderFactory.AppendChild(buttonFactory) Dim dt As DataTemplate = New DataTemplate() dt.VisualTree = borderFactory reportObj.PageFooterTemplate = dt End Sub
private void SetPageFooterTemplate() { Report reportObj = new Report(); ..... FrameworkElementFactory borderFactory = new FrameworkElementFactory(typeof(Border)); FrameworkElementFactory buttonFactory = new FrameworkElementFactory(typeof(Button)); borderFactory.AppendChild(buttonFactory); DataTemplate dt = new DataTemplate(); dt.VisualTree = borderFactory; reportObj.PageFooterTemplate = dt; }
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