Compartir a través de


PrintDocument.BeginPrint Event

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

Occurs after the Print method is called and the print dialog box successfully returns, but before the PrintPage event is raised.

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

Syntax

'Declaration
Public Event BeginPrint As EventHandler(Of BeginPrintEventArgs)
public event EventHandler<BeginPrintEventArgs> BeginPrint

Remarks

Use the BeginPrint event to perform any set up that is required for 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.