Condividi tramite


PrintDocument.EndPrint Event

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Occurs when the printing operation is passed to the print spooler or when the print operation is cancelled by the application author.

Namespace:  System.Windows.Printing
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Event EndPrint As EventHandler(Of EndPrintEventArgs)
public event EventHandler<EndPrintEventArgs> EndPrint

Remarks

The EndPrint event will not occur if the user cancels the print operation from the print dialog box. A BeginPrint event will always occur before an EndPrint event.

Handle this event to perform clean-up operations after the print operation.

For more information about handling events, see Events Overview for Silverlight.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.