Back to Devexpress

DesignerOptions.ShowExportWarnings Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-designeroptions-275f1ac3.md

latest3.4 KB
Original Source

DesignerOptions.ShowExportWarnings Property

Specifies whether to highlight report controls that overlap.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[DefaultValue(true)]
[SRCategory(ReportStringId.CatDesign)]
public bool ShowExportWarnings { get; set; }
vb
<DefaultValue(True)>
<SRCategory(ReportStringId.CatDesign)>
Public Property ShowExportWarnings As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true , to display export warnings; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ShowExportWarnings
XtraReport

.DesignerOptions .ShowExportWarnings

|

Remarks

A report that contains controls that overlap may cause errors in the document when exported to tabular formats such as XLS, XLSX, HTML, or RTF.

Enable the ShowExportWarnings option to highlight overlapping controls in red. Hover over the report design area to display a tooltip that indicates the controls that overlap:

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 overlapping controls and disables red highlighting for such controls:

csharp
public partial class TestReport : DevExpress.XtraReports.UI.XtraReport {
    public TestReport() {
        InitializeComponent();
        this.DesignerOptions.ShowExportWarnings = false;
    }
}
vb
Public Class TestReport

    Public Sub New()
        Me.DesignerOptions.ShowExportWarnings = False
    End Sub
End Class

See Also

ShowPrintingWarnings

DesignerOptions Class

DesignerOptions Members

DevExpress.XtraReports.UI Namespace