UserDesignerOptions.ConvertBindingsToExpressions Property
Specifies whether end-users are prompted to convert a legacy report to use expression bindings when opening it in the End-User Report Designer.
Namespace: DevExpress.XtraReports.Configuration
Assembly: DevExpress.XtraReports.v24.2.dll
NuGet Package: DevExpress.Reporting.Core
#Declaration
public PromptBoolean ConvertBindingsToExpressions { get; set; }
#Property Value
Type | Description |
---|---|
Prompt |
A Prompt |
Available values:
Name | Description |
---|---|
False | Legacy reports are not converted to use expression bindings. |
True | Legacy reports are automatically converted to use expression bindings. |
Prompt | Users are prompted to convert legacy reports to use expression bindings. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Convert |
---|---|
Reporting |
|
Settings |
|
#Remarks
The ConvertBindingsToExpressions option defines whether and how to convert legacy reports to use the new binding mechanism when opening them in the Designer.
If this property is set to True, such reports are automatically converted to use expression bindings. If this property is set to False, legacy reports are opened without any changes.
If you select the Prompt value, users are prompted to convert legacy reports to use the new binding mode.
The following image demonstrates the dialog that appears in Visual Studio at design time.
The DataBindingMode property is available in the Report Designer Options dialog in Visual Studio at design time.
For End-User Report Designers, set the ConvertBindingsToExpressions property at the application’s startup as shown below:
WinForms
WPF
ASP.NET
See Data Binding Modes for more information.