Class FileDialog +
+ + + + + +Inherited Members
+ + + + + +Namespace: Terminal.Gui
+Assembly: Terminal.Gui.dll
+Syntax
+public class FileDialog : Terminal.Gui.Dialog
+ Constructors +
+ + + +FileDialog(ustring, ustring, ustring, ustring)
+ + +Declaration
+public FileDialog (NStack.ustring title, NStack.ustring prompt, NStack.ustring nameFieldLabel, NStack.ustring message);
+ Parameters
+| Type | +Name | +Description | +
|---|---|---|
| NStack.ustring | +title | +To be added. + |
+
| NStack.ustring | +prompt | +To be added. + |
+
| NStack.ustring | +nameFieldLabel | +To be added. + |
+
| NStack.ustring | +message | +To be added. + |
+
Properties +
+ + + +AllowedFileTypes
+The array of filename extensions allowed, or null if all file extensions are allowed.
+Declaration
+public NStack.ustring[] AllowedFileTypes { get; set; }
+ Property Value
+| Type | +Description | +
|---|---|
| NStack.ustring[] | +The allowed file types. + |
+
AllowsOtherFileTypes
+Gets or sets a value indicating whether this FileDialog allows the file to be saved with a different extension
+Declaration
+public bool AllowsOtherFileTypes { get; set; }
+ Property Value
+| Type | +Description | +
|---|---|
| System.Boolean | +
|
+
CanCreateDirectories
+Gets or sets a value indicating whether this FileDialog can create directories.
+Declaration
+public bool CanCreateDirectories { get; set; }
+ Property Value
+| Type | +Description | +
|---|---|
| System.Boolean | +
|
+
DirectoryPath
+Gets or sets the directory path for this panel
+Declaration
+public NStack.ustring DirectoryPath { get; set; }
+ Property Value
+| Type | +Description | +
|---|---|
| NStack.ustring | +The directory path. + |
+
FilePath
+The File path that is currently shown on the panel
+Declaration
+public NStack.ustring FilePath { get; set; }
+ Property Value
+| Type | +Description | +
|---|---|
| NStack.ustring | +The absolute file path for the file path entered. + |
+
IsExtensionHidden
+Gets or sets a value indicating whether this FileDialog is extension hidden.
+Declaration
+public bool IsExtensionHidden { get; set; }
+ Property Value
+| Type | +Description | +
|---|---|
| System.Boolean | +
|
+
Message
+Gets or sets the message displayed to the user, defaults to nothing
+Declaration
+public NStack.ustring Message { get; set; }
+ Property Value
+| Type | +Description | +
|---|---|
| NStack.ustring | +The message. + |
+
NameFieldLabel
+Gets or sets the name field label.
+Declaration
+public NStack.ustring NameFieldLabel { get; set; }
+ Property Value
+| Type | +Description | +
|---|---|
| NStack.ustring | +The name field label. + |
+
Prompt
+Gets or sets the prompt label for the button displayed to the user
+Declaration
+public NStack.ustring Prompt { get; set; }
+ Property Value
+| Type | +Description | +
|---|---|
| NStack.ustring | +The prompt. + |
+