PrintingMode Property

Gets or sets a value indicating whether it toggles printing mode for the grid. While in printing mode GridBounds will return the print rectangle of the page being printed and not the client rectangle of the control on the screen.
Public Property PrintingMode As Boolean
Dim instance As GridControlBase
Dim value As Boolean
instance.PrintingMode = value
value = instance.PrintingMode
public bool PrintingMode {get; set;}
When printing the grid, the GridPrintDocument class will toggle the printing mode for the grid. At that time, all drawing related code will use the printing page as canvas and GridBounds.

Also, TopRowIndex and LeftColIndex will return values with top row and left column for the page that is currently being printed.


Syncfusion.Grid.Windows: 17.4460.0.39

See Also