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

Declaration

[EventScript(typeof(XRControl), "BeforePrint")]
[XtraSerializableProperty]
public virtual string OnBeforePrint { get; set; }
<EventScript(GetType(XRControl), "BeforePrint")>
<XtraSerializableProperty>
Public Overridable Property OnBeforePrint As String

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