Back to Devexpress

UserDesignerOptions.ConvertBindingsToExpressions Property

xtrareports-devexpress-dot-xtrareports-dot-configuration-dot-userdesigneroptions-5bb65ab2.md

latest3.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public PromptBoolean ConvertBindingsToExpressions { get; set; }
vb
Public Property ConvertBindingsToExpressions As PromptBoolean

Property Value

TypeDescription
PromptBoolean

A PromptBoolean enumeration value.

|

Available values:

NameDescription
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 TypePath to ConvertBindingsToExpressions
ReportingSettings

.UserDesignerOptions .ConvertBindingsToExpressions

| | Settings |

.UserDesignerOptions .ConvertBindingsToExpressions

|

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.

See Also

Data Binding Modes

UserDesignerOptions Class

UserDesignerOptions Members

DevExpress.XtraReports.Configuration Namespace