Report Designer Options
- 2 minutes to read
The XtraReports menu is automatically added to Visual Studio’s main menu after installing the DevExpress .NET components.
You can use this menu to invoke the Report Designer Options window. It allows you to specify the default settings for all reports you create in Visual Studio.
These settings include:
UserDesignerOptions.DefaultCrossTabControl
Specifies the default control that is used to present cross-tab data (XRCrossTab or XRPivotGrid).
-
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.
-
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.
-
Specifies whether to draw the snap grid over the report surface to help align report elements.
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.
-
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.