XRControl.EvaluateBinding Event

Occurs after a data-bound XRControl object obtains data from its data source.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.2.dll


public virtual event BindingEventHandler EvaluateBinding
Public Overridable Event EvaluateBinding As BindingEventHandler

Event Data

The EvaluateBinding event handler receives an argument of the BindingEventArgs type. The following properties provide information specific to this event.

Property Description
Binding Provides the information about a control's bindings in the XRControl.EvaluateBinding event handler.
Value Specifies a new value for a control's bound property obtained in the XRControl.EvaluateBinding event handler.


The EvaluateBinding event is raised before the XRControl.BeforePrint event rises. In this event handler, you can perform custom calculations over data obtained from a control's data source, that for any reason cannot be evaluated via Calculated Fields Overview.

In this event handler, you can access the information from a control's XRBinding object (via the BindingEventArgs.Binding property), and assign a new value to the BindingEventArgs.Value property.

This event does not fire for data fields that are embedded into an XRControl's text using mail merge.

See Also