A newer version of this page is available. Switch to the current version.

XRControl.EvaluateBinding Event

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

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.dll

Declaration

public virtual event BindingEventHandler EvaluateBinding

Event Data

The EvaluateBinding event's data class is BindingEventArgs. 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.

Remarks

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