Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • I'd like to have a header and footer background with a gradient fill behind the page title and such. (C#)
                                    I can't seem to find how to do that.
                                    In another project, using something other than DevExpress, I can do very simply like this:

                                                   // HEADER
                                                   dgvPrinter.HeaderFormat = BlockFormat.Header();
                                                   dgvPrinter.HeaderFormat.BackgroundBrush = new LinearGradientBrush(new Point(0, 0), new Point(200, 0), Color.DarkBlue, Color.White);

                                                   // FOOTER
                                                   dgvPrinter.FooterFormat = BlockFormat.Footer();
                                                   dgvPrinter.FooterFormat.BackgroundBrush = new LinearGradientBrush(new Point(0, 0), new Point(200, 0), Color.White, Color.Blue);

                                    How hard is it to do that with XtraReports?

                                0

                                Hi Bernard,

                                Thank you for contacting us. I am afraid the XtraReports Suite does provide built-in functionality to accomplish this task. To set the Band background color, you can use the approach shown in the How to change the background color of the entire band knowledge base article. However, it is impossible to implement gradient filling using this method. We have plans to implement this functionality in the context of the XRControl - Support gradient filling suggestion. Please track it to be notified when its status is changed.

                                Thanks,
                                Sergi

                                0

                                Is there a way to put a background image there instead? So that it is behind any text?

                                0

                                Hi Bernard,

                                Thank you for your feedback. You can try to use the XRPictureBox control to show the background image in a band. However, please note that reports with overlapping controls are not correctly exported to some formats (RTF, XLS, XLSX). Thus, if this functionality is not important for you, use this approach.

                                Thanks,
                                Sergi

                                To start a chat you should create a support ticket


                                If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2014 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners