Version

FooterTemplate Property

The template used to display the footer content.
Syntax
'Declaration
 
Public Property FooterTemplate As DataTemplate
public DataTemplate FooterTemplate {get; set;}
Remarks
Example
This example shows how to create and set ReportPagePresenter.FooterTemplate

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;
}
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