Skip to main content

XRControlEvents.OnBeforePrint Property

Gets or sets the name of the script used to handle the XRControl.BeforePrint event.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v22.1.dll


public virtual string OnBeforePrint { get; set; }

Property Value

Type Default Description


A String representing the name of the script for this event.


Use the OnBeforePrint property to assign the name of the script to be executed when the XRControl.BeforePrint event is raised.

To learn more, refer to Using Report Scripts.

See Also