The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+

PrintingController Class

Represents a ViewController descendant that provides printing functionality in the Windows Forms applications.

Namespace: DevExpress.ExpressApp.Win.SystemModule

Assembly: DevExpress.ExpressApp.Win.v19.2.dll

Declaration

public class PrintingController :
    ViewController
Public Class PrintingController
    Inherits ViewController
public class PrintingController :
    ViewController
Public Class PrintingController
    Inherits ViewController

Remarks

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.

PrintingModule

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.

PrintingModule_3

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.

Implements

See Also