Class FileSaveDialogService
A service used to show a dialog for saving a file.
Implements
Inherited Members
Namespace: Gorgon.Editor.Services
Assembly: Gorgon.Editor.API.dll
Syntax
public class FileSaveDialogService : IFileDialogService
Properties
| Edit this page View SourceDialogTitle
Property to set or return the title for the dialog.
Declaration
public string DialogTitle { get; set; }
Property Value
Type | Description |
---|---|
string | The dialog title. |
FileFilter
Property to set or return a file filter.
Declaration
public string FileFilter { get; set; }
Property Value
Type | Description |
---|---|
string |
InitialDirectory
Property to set or return the initial directory.
Declaration
public DirectoryInfo InitialDirectory { get; set; }
Property Value
Type | Description |
---|---|
DirectoryInfo |
InitialFilePath
Property to set or return the initial file path to use.
Declaration
public string InitialFilePath { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceGetFilename()
Function to retrieve a single file name.
Declaration
public virtual string GetFilename()
Returns
Type | Description |
---|---|
string | The selected file path, or null if cancelled. |