Report Designer Options
- 2 minutes to read
Use the Report Designer Options window integrated in Visual Studio’s menu to specify the default settings for all reports you create in Visual Studio.
You can invoke the Report Designer Options window in one of the following ways:
Click Tools in Visual Studio’s main menu and select Options…
Use the XtraReports menu. Double-click the report designer to add XtraReports to Visual Studio’s main menu.
The image below illustrates the invoked Report Designer Options window.
The window contains the following settings:
- UserDesignerOptions.DefaultCrossTabControl
- Specifies the default control that is used to present cross-tab data (XRCrossTab or XRPivotGrid).
- ReportLocalizationMode
- Specifies whether the report uses localizaton strings embedded in a report (contained in the REPX file) or loads the localized resources from satellite resource assemblies.
- XtraReport.ScriptLanguage
Specifies the default language scripts used in reports (C#, Visual Basic, or JavaScript).
Tip
See Use Report Scripts for more information.
- UserDesignerOptions.ConvertBindingsToExpressions
- Specifies whether to automatically convert data bindings to expressions when opening reports that have bindings defined for any of their elements.
- UserDesignerOptions.DataBindingMode
Specifies the mode of providing data for report controls.
Tip
See Data Binding Modes to learn more about these settings.
- Data Source Request Timeout
- Specifies the time limit the Visual Studio Report Designer waits for an external process executing a request to a data source.
- XtraReport.DrawGrid
- Specifies whether to draw the snap grid over the report surface to help align report elements.
- XtraReport.SnappingMode
Specifies the default mode of snapping report elements to each other when they are resized or moved.
Tip
See Arrange Report Controls for more details.
- Font
- Specifies the default font to use when designing a new report in Visual Studio Report Designer.
- XtraReport.ReportUnit
Specifies the default units of measurement used in reports to define element locations, dimensions, and margins.
Note
When setting ReportUnit.TenthsOfAMillimeter as report units, the empty and data-based reports created via the Report Wizard have their XtraReport.PaperKind property set to PaperKind.A4. Otherwise, it is set to PaperKind.Letter by default.
You can share configured settings in the Import & Export Settings wizard. To invoke the wizard, click Tools in Visual Studio’s main menu and select Import and Export Settings….