Back to Devexpress

DesignerOptions Class

xtrareports-devexpress-dot-xtrareports-dot-ui-1795b71b.md

latest2.3 KB
Original Source

DesignerOptions Class

Allows you to disable certain report layout validation indicators.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public class DesignerOptions
vb
Public Class DesignerOptions

The following members return DesignerOptions objects:

Remarks

The DesignerOptions class properties allow you to disable certain hints and warnings in the following designer components:

Note

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

You can access an instance of the DesignerOptions class with the XtraReport.DesignerOptions property. The following code snippet hides tooltips that warn the user about overlapping controls or controls outside the right margin:

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

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

Inheritance

Object DesignerOptions

See Also

DesignerOptions Members

DevExpress.XtraReports.UI Namespace