devexpress edit gridcontrol before printing code example Example: print gridcontrol devexpress gridProperties.ShowRibbonPrintPreview();