FlexGrid for WinForms
EndPrint Event

Fires after the grid finishes printing.
<C1DescriptionAttribute("Fires after the grid finishes printing.")>
Public Event EndPrint As PrintEventHandler
Dim instance As C1FlexGridBase
Dim handler As PrintEventHandler
AddHandler instance.EndPrint, handler
[C1Description("Fires after the grid finishes printing.")]
public event PrintEventHandler EndPrint
[C1Description("Fires after the grid finishes printing.")]
event PrintEventHandler^ EndPrint
Event Data

The event handler receives an argument of type PrintEventArgs containing data related to this event. The following PrintEventArgs properties provide information specific to this event.

Cancel (Inherited from System.ComponentModel.CancelEventArgs)
PrintActionReturns System.Drawing.Printing.PrintAction.PrintToFile in all cases.  

This event is typically used to update the user interface and provide feedback while printing the grid.

Use the PrintGrid(String,PrintGridFlags) method to print the grid and specify the document name, common printing options, headers and footers.

Use the PrintParameters property to specify less common printing options such as header and footer fonts, page margins, orientation, and so on.


Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


C1FlexGridBase Class
C1FlexGridBase Members



Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback