CustomExportEventArgs.Printable Property
Specifies the IPrintable control which is used by a List Editor to export data.
Namespace: DevExpress.ExpressApp.SystemModule
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Property Value
Type | Description |
---|---|
IBasePrintable | 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 Web Forms 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 |