xtrareports-devexpress-dot-xtrareports-dot-ui-a8866ad4.md
Lists the available data binding modes.
Namespace : DevExpress.XtraReports.UI
Assembly : DevExpress.XtraReports.v25.2.dll
NuGet Package : DevExpress.Reporting.Core
public enum DataBindingMode
Public Enum DataBindingMode
| Name | Description |
|---|---|
Bindings |
The legacy data binding mode, in which providing any custom logic to the report requires report scripts.
|
| Expressions |
The default binding mode that allows you to provide expressions with restricted customization options (only the XRControl.BeforePrint event is available).
|
| ExpressionsAdvanced |
The binding mode that allows you to provide expressions in both the XRControl.BeforePrint and XRControl.PrintOnPage event handlers. See Use Variables for Event-Related Expressions.
|
The following properties accept/return DataBindingMode values:
Use the UserDesignerOptions.DataBindingMode property to specify the data binding mode.
In the Visual Studio Designer, invoke the Report Designer Options dialog to change the data binding mode:
See Also