[]
        
(Showing Draft Content)

C1.Win.FlexGrid.C1FlexGridBase.BeforePageBreak

BeforePageBreak Event

Fires while the control is being printed to provide control over page breaks.

Namespace: C1.Win.FlexGrid
Assembly: C1.Win.FlexGrid.8.dll
Syntax
public event RowColEventHandler BeforePageBreak
Returns
Type Description
RowColEventHandler Fires while the control is being printed to provide control over page breaks.
Remarks

This event is fired while the control is being printed with the PrintGrid(string, PrintGridFlags) method to provide control over page breaks.

Set the Cancel parameter to true to indicate that the given Row should not be printed at the top of a page. In this case, the control will move the break point up and fire the event again until it finds a valid break point. Note that you can only prevent page breaks, not force them.