Skip to main content
.NET Framework 4.6.2+

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

WinExportController.CustomShowSaveFileDialog Event

Occurs when the ExportController.ExportAction is executed, before data is exported to a stream.

Namespace: DevExpress.ExpressApp.Win.SystemModule

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

#Declaration

public event EventHandler<CustomShowSaveFileDialogEventArgs> CustomShowSaveFileDialog

#Event Data

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

Property Description
Dialog Provides access to the Save File Dialog before it’s shown.
DialogResult Specifies identifiers to indicate the return value of the CustomShowSaveFileDialogEventArgs.Dialog box.
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.

#Remarks

Before the data presented by the ExportController.Exportable editor is exported, the CustomShowSaveFileDialog event is raised. Handle it if you need to show the Save File Dialog in a custom way. For this purpose, use the handler’s CustomShowSaveFileDialogEventArgs.Dialog parameter to access the dialog box to be shown. In addition, use the CustomShowSaveFileDialogEventArgs.DialogResult parameter to set the return value of the dialog box, and set the handler’s Handled parameter to true to cancel showing the dialog box in the default way.

See Also