[]
Gets a reference to the PrintPreviewDialog used to display the grid's print preview.
public PrintPreviewDialog PrintPreviewDialog { get; }
Use this property to customize the size and position of the preview dialog when printing the grid with the ShowPrintDialog option.
The code below uses the PrintPreviewDialog property to display the preview dialog with a custom caption and in a maximized state:
Form dlg = _flex.PrintParameters.PrintPreviewDialog as Form;
dlg.Text = "Custom Caption";
dlg.StartPosition = FormStartPosition.Manual;
dlg.WindowState = FormWindowState.Maximized;
_flex.PrintGrid("test", PrintGridFlags.ShowPreviewDialog);