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.v18.2.dll

Declaration

public event EventHandler<CustomShowSaveFileDialogEventArgs> CustomShowSaveFileDialog
Public Event CustomShowSaveFileDialog As EventHandler(Of CustomShowSaveFileDialogEventArgs)

Event Data

The CustomShowSaveFileDialog event handler receives an argument of the CustomShowSaveFileDialogEventArgs type.

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