Class SaveDialog
The save dialog provides an interactive dialog box for users to pick a file to save.
Inherited Members
Namespace: Terminal.Gui
Assembly: Terminal.Gui.dll
Syntax
public class SaveDialog : Terminal.Gui.FileDialog
Remarks
To use it, create an instance of the SaveDialog, and then call Application.Run on the resulting instance. This will run the dialog modally, and when this returns, the FileName property will contain the selected value or null if the user canceled.
Constructors
SaveDialog(ustring, ustring)
Declaration
public SaveDialog (NStack.ustring title, NStack.ustring message);
Parameters
Type | Name | Description |
---|---|---|
NStack.ustring | title | To be added. |
NStack.ustring | message | To be added. |
Properties
FileName
Gets the name of the file the user selected for saving, or null if the user canceled the dialog box.
Declaration
public NStack.ustring FileName { get; }
Property Value
Type | Description |
---|---|
NStack.ustring | The name of the file. |