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.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[DefaultValue("")]
public virtual string OnBeforePrint { get; set; }

Property Value

Type Default Description
String String.Empty

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

Remarks

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