PageEventHandler Delegate
A method that handles all page events within the XtraPrinting Library.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v24.1.Core.dll
NuGet Package: DevExpress.Printing.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
sender | Object | The event source. |
e | PageEventArgs | A PageEventArgs object that contains data related to the event. |
Remarks
This method will handle the following events:
- PrintingSystemBase.BeforePagePaint
- PrintingSystemBase.AfterPagePaint
- DocumentViewerBase.SelectedPageChanged
When creating a PageEventHandler
delegate, identify a method that will handle corresponding events. To associate an event with an event handler, add a delegate instance to the event. The event handler is called whenever the event occurs, unless the delegate is removed.
For more information on event handler delegates, see Events and Delegates in MSDN.
See Also