Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

public IBasePrintable Printable { get; }

#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

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

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
See Also