Back to Devexpress

XRPageBreak.PrintOnPage Event

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrpagebreak.md

latest2.0 KB
Original Source

XRPageBreak.PrintOnPage Event

This event is not available for the XRPageBreak class.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

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

Event Data

The PrintOnPage event's data class is PrintOnPageEventArgs. The following properties provide information specific to this event:

PropertyDescription
CancelGets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
PageCountGets the number of all pages presented in the created report.
PageIndexGets the index of the current page which the control will be printed on.

Remarks

This event is intended to hide the corresponding event of the XRControl class.

See Also

XRPageBreak Class

XRPageBreak Members

DevExpress.XtraReports.UI Namespace