The requested page is not available for the requested platform. You are viewing the content for Default platform.

Band.PrintOnPage Event

Overrides the XRControl.PrintOnPage event to hide it.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.2.dll

Declaration

[Browsable(false)]
public override event PrintOnPageEventHandler PrintOnPage
<Browsable(False)>
Public Overrides Event PrintOnPage As PrintOnPageEventHandler

Event Data

The PrintOnPage event handler receives an argument of the PrintOnPageEventArgs type. The following properties provide information specific to this event.

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled.
(Inherited from CancelEventArgs)
PageCount Gets the number of all pages presented in the created report.
PageIndex Gets the index of the current page which the control will be printed on.
PrintAction Returns PrintToFile in all cases.
(Inherited from PrintEventArgs)

Remarks

This event is overridden to hide the corresponding event of the XRControl class, since the PrintOnPage event isn't appropriate for the Band class. Instead, handle the XRControl.PrintOnPage event of every specific report control.

See Also