ExpressionBinding Class
Provides functionality to expression bindings.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v18.2.dll
Declaration
Related API Members
The following members return ExpressionBinding objects:
Remarks
A collection of ExpressionBinding objects is returned by the XRControl.ExpressionBindings property.
When the UserDesignerOptions.DataBindingMode property is set to DataBindingMode.Expressions or DataBindingMode.ExpressionsAdvanced, you can assign a binding expression to a report control:
- Use the ExpressionBinding.EventName property to specify the event handler in which the expression is evaluated.
- Use the ExpressionBinding.PropertyName property to specify the property to which the binding expression is applied.
- Use the ExpressionBinding.Expression to specify a binding expression for the specified property in the selected event handler.
See Data Binding Modes to learn more about using this feature.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ExpressionBinding class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.