Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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