Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DesignerOptions.ShowPrintingWarnings Property

Specifies whether to highlight report controls that extend beyond the right page margin.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

[DefaultValue(true)]
[SRCategory(ReportStringId.CatDesign)]
public bool ShowPrintingWarnings { get; set; }

#Property Value

Type Default Description
Boolean true

true, to display print warnings; otherwise, false.

#Property Paths

You can access this nested property as listed below:

Object Type Path to ShowPrintingWarnings
XtraReport
.DesignerOptions .ShowPrintingWarnings

#Remarks

To highlight report controls that extend beyond the right margin of the page, enable the ShowPrintingWarnings property. Hover over the report design area to display a tooltip with control names. You can resize these controls to keep them within the page borders and avoid printing unnecessary pages.

ShowPrintingWarnings

For more information, review the following help topic: Validate the Report Layout.

Note

The DesignerOptions settings are not available in Report Designer for Web.

The following code snippet hides tooltips that warn a user about controls that extend beyond the field boundaries, and disables red highlighting for such controls:

public partial class TestReport : DevExpress.XtraReports.UI.XtraReport {
    public TestReport() {
        InitializeComponent();
        this.DesignerOptions.ShowPrintingWarnings = false;
    }
}
See Also