PageEventHandler Delegate
In This Article
A method that handles all page events within the XtraPrinting Library.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v24.2.Core.dll
NuGet Package: DevExpress.Printing.Core
#Declaration
public delegate void PageEventHandler(
object sender,
PageEventArgs e
);
#Parameters
Name | Type | Description |
---|---|---|
sender | Object | The event source. |
e | Page |
A Page |
#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