Back to Devexpress

CustomExportEventArgs.Printable Property

expressappframework-devexpress-dot-expressapp-dot-systemmodule-dot-customexporteventargs.md

latest3.8 KB
Original Source

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

csharp
public IBasePrintable Printable { get; }
vb
Public ReadOnly Property Printable As IBasePrintable

Property Value

TypeDescription
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 EditorPrinting ControlExport Options
GridListEditorGridControlGridView.OptionsPrint
TreeListEditorTreeListTreeList.OptionsPrint
PivotGridListEditorPivotGridControlPivotGridControl.OptionsPrint
ChartListEditorChartControlChartControl.OptionsPrint
SchedulerListEditorSchedulerControlSchedulerControl.OptionsPrint

See Also

How to: Customize the Export Action Behavior

CustomExportEventArgs Class

CustomExportEventArgs Members

DevExpress.ExpressApp.SystemModule Namespace