9 instantiations of PrintPageEventArgs
System.Drawing.Common (1)
System\Drawing\Printing\PrintController.cs (1)
209PrintPageEventArgs pageEvent = new(null, marginBounds, pageBounds, pageSettings);
System.Drawing.Common.Tests (8)
System\Drawing\Printing\PreviewPrintControllerTests.cs (5)
22PrintPageEventArgs printEventArgs = new(null, Rectangle.Empty, Rectangle.Empty, new PageSettings()); 36PrintPageEventArgs e = new(null, Rectangle.Empty, Rectangle.Empty, null); 55PrintPageEventArgs printEventArgs = new(null, Rectangle.Empty, Rectangle.Empty, null); 64PrintPageEventArgs e = new(null, Rectangle.Empty, Rectangle.Empty, null); 73controller.OnEndPage(document, new PrintPageEventArgs(null, Rectangle.Empty, Rectangle.Empty, null));
System\Drawing\Printing\PrintControllerTests.cs (3)
22PrintPageEventArgs printEventArgs = new(null, Rectangle.Empty, Rectangle.Empty, null); 37Assert.Null(controller.OnStartPage(document, new PrintPageEventArgs(null, Rectangle.Empty, Rectangle.Empty, null))); 46controller.OnEndPage(document, new PrintPageEventArgs(null, Rectangle.Empty, Rectangle.Empty, null));
29 references to PrintPageEventArgs
Accessibility_Core_App (1)
PrintingControls.cs (1)
19private void printDocument1_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e)
System.Drawing (1)
System.Drawing.cs (1)
132[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Printing.PrintPageEventArgs))]
System.Drawing.Common (17)
System\Drawing\Printing\DefaultPrintController.cs (2)
71public override Graphics OnStartPage(PrintDocument document, PrintPageEventArgs e) 112public override void OnEndPage(PrintDocument document, PrintPageEventArgs e)
System\Drawing\Printing\PreviewPrintController.cs (2)
43public override Graphics OnStartPage(PrintDocument document, PrintPageEventArgs e) 103public override void OnEndPage(PrintDocument document, PrintPageEventArgs e)
System\Drawing\Printing\PrintController.cs (7)
25public virtual Graphics? OnStartPage(PrintDocument document, PrintPageEventArgs e) => null; 30public virtual void OnEndPage(PrintDocument document, PrintPageEventArgs e) 96/// <see cref="OnStartPage(PrintDocument, PrintPageEventArgs)"/> instead. 110PrintPageEventArgs pageEvent = CreatePrintPageEvent(queryEvent.PageSettings); 137PrintPageEventArgs? pageEvent = null; 198private PrintPageEventArgs CreatePrintPageEvent(PageSettings pageSettings) 209PrintPageEventArgs pageEvent = new(null, marginBounds, pageBounds, pageSettings);
System\Drawing\Printing\PrintDocument.cs (1)
159protected internal virtual void OnPrintPage(PrintPageEventArgs e) => _printPageHandler?.Invoke(this, e);
System\Drawing\Printing\PrintPageEventArgs.cs (2)
12/// Initializes a new instance of the <see cref='PrintPageEventArgs'/> class. 58/// Disposes of the resources (other than memory) used by the <see cref='PrintPageEventArgs'/>.
System\Drawing\Printing\PrintPageEventHandler.cs (1)
9public delegate void PrintPageEventHandler(object sender, PrintPageEventArgs e);
System\Drawing\Printing\PrintPreviewGraphics.cs (2)
13private readonly PrintPageEventArgs _printPageEventArgs; 16public PrintPreviewGraphics(PrintDocument document, PrintPageEventArgs e)
System.Drawing.Common.Tests (7)
System\Drawing\Printing\PreviewPrintControllerTests.cs (4)
22PrintPageEventArgs printEventArgs = new(null, Rectangle.Empty, Rectangle.Empty, new PageSettings()); 36PrintPageEventArgs e = new(null, Rectangle.Empty, Rectangle.Empty, null); 55PrintPageEventArgs printEventArgs = new(null, Rectangle.Empty, Rectangle.Empty, null); 64PrintPageEventArgs e = new(null, Rectangle.Empty, Rectangle.Empty, null);
System\Drawing\Printing\PrintControllerTests.cs (1)
22PrintPageEventArgs printEventArgs = new(null, Rectangle.Empty, Rectangle.Empty, null);
System\Drawing\Printing\PrintDocumentTests.cs (2)
279public override Graphics OnStartPage(PrintDocument document, PrintPageEventArgs e) 295public override void OnEndPage(PrintDocument document, PrintPageEventArgs e)
System.Windows.Forms (3)
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.cs (2)
66public override Graphics? OnStartPage(PrintDocument document, PrintPageEventArgs e) 84public override void OnEndPage(PrintDocument document, PrintPageEventArgs e)
System\Windows\Forms\Rendering\PaintEventArgs.cs (1)
15/// Please keep this class consistent with <see cref="PrintPageEventArgs"/>.