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.v19.1.dll
NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Core
Declaration
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.
Example
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the OnBeforePrint property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.