Skip to main content

CustomExportEventArgs.Printable Property

Specifies the IPrintable control that a List Editor uses to export data.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v25.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public IBasePrintable Printable { get; }

Property Value

Type Description
IBasePrintable

An IPrintable object that is the control used to export data from a List Editor.

Remarks

The ExportController uses 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

List Editor Printing Control Export Options
GridListEditor GridControl GridView.OptionsPrint
TreeListEditor TreeList TreeList.OptionsPrint
PivotGridListEditor PivotGridControl PivotGridControl.OptionsPrint
ChartListEditor ChartControl ChartControl.OptionsPrint
SchedulerListEditor SchedulerControl SchedulerControl.OptionsPrint
See Also