Class SaveDialog
The SaveDialog provides an interactive dialog box for users to pick a file to save.
public class SaveDialog : FileDialog, IDisposable, ISupportInitializeNotification, ISupportInitialize
- Inheritance
-
SaveDialog
- Implements
- Inherited Members
Remarks
To use, create an instance of SaveDialog, and pass it to Run(Func<Exception, bool>). This will run the dialog modally, and when this returns, the FileNameproperty will contain the selected file name or null if the user canceled.
Constructors
- SaveDialog()
Initializes a new SaveDialog.
- SaveDialog(ustring, ustring, List<string>)
Initializes a new SaveDialog.
Properties
- FileName
Gets the name of the file the user selected for saving, or null if the user canceled the SaveDialog.