[]
Fires while the control is being printed to provide control over page breaks.
public event RowColEventHandler BeforePageBreak
Type | Description |
---|---|
RowColEventHandler | Fires while the control is being printed to provide control over page breaks. |
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.