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

UserDesignerOptions Class

Provides access to customization settings of End-User Report Designers.

Namespace: DevExpress.XtraReports.Configuration

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

public class UserDesignerOptions

The following members return UserDesignerOptions objects:

#Remarks

Apply settings from this class at application startup:

WinForms
static class Program {
    static void Main() {
        DevExpress.XtraReports.Configuration.Settings.Default.UserDesignerOptions.DataBindingMode = 
            DevExpress.XtraReports.UI.DataBindingMode.ExpressionsAdvanced;
        DevExpress.XtraReports.Configuration.Settings.Default.UserDesignerOptions.ShowDimensionNotations = false;
        // ...
    }
}
WPF
public partial class App : Application {
    protected override void OnStartup(StartupEventArgs e) {
        DevExpress.XtraReports.Configuration.Settings.Default.UserDesignerOptions.DataBindingMode =
            DevExpress.XtraReports.UI.DataBindingMode.ExpressionsAdvanced;            
        DevExpress.XtraReports.Configuration.Settings.Default.UserDesignerOptions.ShowDimensionNotations = false;
        base.OnStartup(e);
    }
}
ASP.NET
public class Global : System.Web.HttpApplication {
    protected void Application_Start(Object sender, EventArgs e) {
        DevExpress.XtraReports.Configuration.Settings.Default.UserDesignerOptions.DataBindingMode =
            DevExpress.XtraReports.UI.DataBindingMode.ExpressionsAdvanced;
        DevExpress.XtraReports.Configuration.Settings.Default.UserDesignerOptions.ShowDimensionNotations = false;
        //... 
    }
}

#Inheritance

Object
UserDesignerOptions
See Also