Represents a ViewController descendant that provides printing functionality in the Windows Forms applications.
public class PrintingController : ViewController
Public Class PrintingController Inherits ViewController
The PrintingController Controller is provided by the System Module, and is activated for Detail Views whose control implements the IPrintable interface and List Views whose List Editor implements the IExportable interface. Contains the PrintingController.PageSetupAction, PrintingController.PrintAction and PrintingController.PrintPreviewAction Actions, allowing end-users to print the current View. These Actions are added to the Print Action Container, available in the File main menu.
The Print Action Container is also available in the context menu and main toolbar of the NestedFrameTemplateV2. Note that only the PrintPreview Action is available in nested List Views.
To execute these Actions, the Printing-Exporting system is used. It supplies many features, such as export to various formats, sending via email, scaling, zooming, numbering pages, UI skinning and so on. This system works with the controls that implement the DevExpress.XtraPrinting.IPrintable interface. This interface is implemented in many controls representing object collections, for example: XtraGrid, XtraScheduler and XtraTreeList. To customize the behavior of these Actions, you can subscribe to the PrintingController.CustomGetPrintableControl and PrintingController.PrintingSettingsLoaded events, exposed by the PrintingController. Refer to the How to: Customize Export Options of the Printing System topic, for an example.