CustomExportEventArgs.Printable Property
Specifies the IPrintable control which is used by a List Editor to export data.
Namespace: DevExpress.ExpressApp.SystemModule
Assembly: DevExpress.ExpressApp.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
IPrintable | An IPrintable object that is the control used for exporting data from a List Editor. |
Remarks
The ExportController uses the XtraPrintingLibrary to perform export operations under a List Editor’s control. This library exposes types that export data from the controls that implement the IPrintable interface. So, the ExportController exports data only from the List Editors that embed a control that implements the IPrintable interface. When handling the ExportController.CustomExport event, use the Printable parameter to access the printable control of the ExportController.Exportable List Editor.
Use the printable control returned by this property to set export options. The following table details how to access the export options of the printable controls used by the built-in List Editors:
Windows Forms specific List Editors
ASP.NET specific List Editors
List Editor | Printing Control | Export Options |
---|---|---|
ASPxGridListEditor | ASPxGridViewExporter | ASPxGridViewExporter members |
ASPxTreeListEditor | ASPxTreeListExporter | ASPxTreeListExporter members |
ASPxPivotGridListEditor | ASPxPivotGridExporter | ASPxPivotGridExporter members |
ASPxChartListEditor | ChartControl | ChartControl.OptionsPrint |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Printable property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.