Skip to main content
.NET 6.0+

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 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

WinExportController Class

The Windows Forms specific descendant of the ExportController class.

Namespace: DevExpress.ExpressApp.Win.SystemModule

Assembly: DevExpress.ExpressApp.Win.v24.1.dll

NuGet Package: DevExpress.ExpressApp.Win

#Declaration

public class WinExportController :
    ExportController

#Remarks

Implements the base class’ Export abstract method. Within this method implementation, the Save File Dialog is invoked with the appropriate file filter applied.

Export_1

Export_SaveAs

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.

#Implements

See Also