Current filter:
                                You should refresh the page.
                                  • Hi,
                                    For the print preview, our app. provides runtime option to define ReportHeaderTemplate and/or PageHeaderTemplate of the PrintableControlLink (DevExpress.Xpf.Printing.TemplatedLink).
                                    How to skip Page Header of the First Page only when  Report Header has defined?
                                    Thank you for your help

                                • Elliot (DevExpress Support) 07.26.2019

                                  Hello Andrew,

                                  There is no straightforward way to accomplish this task using theDXPrinting for WPF.Would you please clarify why you do not want to use our XtraReports Suite for this purpose? Thank you for your feedback in advance.

                                  Thanks,
                                  Elliot

                                • Andrey Vivier 1 07.31.2019

                                  Hi,

                                  We use because it is convenient in our case because we're creating PrintableControlLink
                                  direct from IPrintableControl (PivotGridControl and GridControl TableView). And don't want to convert it to XtraReport

                                  Any suggestion?

                                1 Solution

                                Creation Date Importance Sort by

                                Hello Andrey,

                                Thank you for your clarification. You can handle the PrintingSystem.BeforeBuildPages event to get access to the inner page header band in a report document and set its the PageHeaderBand.PrintOn property to accomplish this issue.

                                [C#]
                                compositeLink.PrintingSystem.BeforeBuildPages += OnBeforeBuildPages; .... private void OnBeforeBuildPages(object sender, System.EventArgs e) { var ps = sender as PrintingSystemBase; var pageHeaderBand = ps.PrintingDocument.Root.Bands.SingleOrDefault(x => x.Kind == DevExpress.XtraPrinting.Native.DocumentBandKind.PageHeader); if(pageHeaderBand != null) pageHeaderBand.PrintOn = DevExpress.XtraReports.UI.PrintOnPages.NotWithReportHeader; }

                                Thanks,
                                Elliot

                                • Andrey Vivier 1 08.13.2019

                                  It is working. Thank you very much.

                                • Elliot (DevExpress Support) 08.14.2019

                                  Hello Andrey,

                                  I am happy to hear that the issue is resolved. Do not hesitate to contact us in case of any difficulties.

                                  Thanks,
                                  Elliot