Dalia García Asked: 2020-12-27 17:39:03 +0800 CST 2020-12-27 17:39:03 +0800 CST 2020-12-27 17:39:03 +0800 CST How to hide the ribbon of a report with devexpress? 772 How are you? I want to hide the ribbon of my reports when executing them but I don't know how to do it. Does anyone know how? windows-forms 1 Answers Voted Best Answer Mauricio Arias Olave 2020-01-03T08:10:42+08:002020-01-03T08:10:42+08:00 Based on the response on the DevExpress Support Ticket , you can use this code: ReportPrintTool reportPrintTool = new ReportPrintTool(new XtraReport()); reportPrintTool.Report.PrintingSystem.SetCommandVisibility(PrintingSystemCommand.File, false); reportPrintTool.Report.PrintingSystem.SetCommandVisibility(PrintingSystemCommand.ExportFile, false); reportPrintTool.ShowPreviewDialog(); As a personal recommendation, if you are dealing with DevExpress products, it is better to refer directly to the official DevExpress controls documentation and/or DevExpress support tickets.
Based on the response on the DevExpress Support Ticket , you can use this code:
As a personal recommendation, if you are dealing with DevExpress products, it is better to refer directly to the official DevExpress controls documentation and/or DevExpress support tickets.