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

ExportAnalysisController.CustomExport Event

Occurs when executing the ExportAnalysisController.ExportAction. Allows you to customize export options and/or implement a custom export.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public event EventHandler<CustomExportAnalysisEventArgs> CustomExport

#Event Data

The CustomExport event's data class is CustomExportAnalysisEventArgs. The following properties provide information specific to this event:

Property Description
ExportType Gets the format in which the exported data should be stored.
Handled Gets or sets a value that indicates whether the event handler has completely handled the event or whether the system should continue its own processing. Inherited from HandledEventArgs.
Stream Gets the stream to which the exported data should be stored.

#Remarks

Handle the CustomExport event to implement a custom export. To get the target format in which the data is about to be exported, use the handler’s CustomExportAnalysisEventArgs.ExportType parameter. To get the stream to which the data will be exported, use the CustomExportAnalysisEventArgs.Stream parameter. In addition, set the handler’s Handled parameter to true if you don’t need the default export operation to be performed.

See Also