Back to Devexpress

CustomExportEventArgs Class

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

latest3.4 KB
Original Source

CustomExportEventArgs Class

Arguments, specific to the ExportController.CustomExport and ExportController.Exported events of the ExportController class.

Namespace : DevExpress.ExpressApp.SystemModule

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public class CustomExportEventArgs :
    HandledEventArgs
vb
Public Class CustomExportEventArgs
    Inherits HandledEventArgs

CustomExportEventArgs is the data class for the following events:

Remarks

Declares properties, specific to the following events:

These events are designed to customize the ExportController.ExportAction Action functionality (see How to: Customize the Export Action Behavior).

The CustomExportEventArgs.ExportOptions property exposed by this class can be used for customizing export options specific to the export format before exporting. The CustomExportEventArgs.ExportTarget property can be used to determine the export format selected when executing the Export Action. The CustomExportEventArgs.Stream property can be used to access the exporting (exported) output stream.

This class is inherited from the HandledEventArgs class. So, you can use the handler’s Handled parameter to suppress default exporting when handling the CustomExport event.

Inheritance

Object EventArgs HandledEventArgs CustomExportEventArgs

See Also

CustomExportEventArgs Members

DevExpress.ExpressApp.SystemModule Namespace