wpf-devexpress-dot-xpf-dot-printing-dot-templatedlink-7cd1763e.md
Specifies the page footer template for the document.
Namespace : DevExpress.Xpf.Printing
Assembly : DevExpress.Xpf.Printing.v25.2.dll
NuGet Package : DevExpress.Wpf.Printing
public DataTemplate PageFooterTemplate { get; set; }
Public Property PageFooterTemplate As DataTemplate
| Type | Description |
|---|---|
| DataTemplate |
A DataTemplate object.
|
Use the PageFooterTemplate and TemplatedLink.PageHeaderTemplate properties, to specify templates for the document page footer and header areas.
For more information, see Printing Links.
The following code snippets (auto-collected from DevExpress Examples) contain references to the PageFooterTemplate property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
wpf-data-grid-add-page-headers-and-footers-to-exported-data/CS/GridPrint/Window1.xaml.cs#L35
link.PageHeaderTemplate = (DataTemplate)Resources["PageHeader"];
link.PageFooterTemplate = (DataTemplate)Resources["PageFooter"];
link.ExportToPdf("GridExport.pdf");
reporting-wpf-stretch-detail-area-to-fill-the-page/CS/Window1.xaml.cs#L15
link.PageHeaderTemplate = (DataTemplate)Resources["pageHeader"];
link.PageFooterTemplate = (DataTemplate)Resources["pageFooter"];
link.ShowPrintPreviewDialog(this);
wpf-data-grid-add-page-headers-and-footers-to-exported-data/VB/GridPrint/Window1.xaml.vb#L43
link.PageHeaderTemplate = CType(Resources("PageHeader"), DataTemplate)
link.PageFooterTemplate = CType(Resources("PageFooter"), DataTemplate)
link.ExportToPdf("GridExport.pdf")
reporting-wpf-stretch-detail-area-to-fill-the-page/VB/Window1.xaml.vb#L17
link.PageHeaderTemplate = CType(Resources("pageHeader"), DataTemplate)
link.PageFooterTemplate = CType(Resources("pageFooter"), DataTemplate)
link.ShowPrintPreviewDialog(Me)
See Also