Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

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

NuGet Package: DevExpress.ExpressApp.Win

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