WinExportController Class
The Windows Forms specific descendant of the ExportController class.
Namespace: DevExpress.ExpressApp.Win.SystemModule
Assembly: DevExpress.ExpressApp.Win.v24.2.dll
NuGet Packages: DevExpress.ExpressApp.Win, DevExpress.ExpressApp.Win.Design
Declaration
Remarks
Implements the base class’ Export abstract method. Within this method implementation, the Save File Dialog is invoked with the appropriate file filter applied.
Using the file name and extension specified in the Save File Dialog, a System.IO.FileStream object is created and passed to the ExportController‘s base ExportCore method. The ExportController uses the XtraPrintingLibrary to export data to the specified stream in the required format.
To localize the Save as type filter captions in the Save File Dialog, use the Localization | OpenSaveDialogFilters node in the Model Editor.
To customize Save File Dialog options, handle the WinExportController.CustomShowSaveFileDialog event. To see an example of accessing the WinExportController Controller, refer to the How to: Customize the Export Action Behavior topic.