Interface IFileDialogService
Provides a service that displays a file open or save dialog.
Namespace: Gorgon.Editor.Services
Assembly: Gorgon.Editor.API.dll
Syntax
public interface IFileDialogService
Properties
| Edit this page View SourceDialogTitle
Property to set or return the title for the dialog.
Declaration
string DialogTitle { get; set; }
Property Value
Type | Description |
---|---|
string |
FileFilter
Property to set or return a file filter.
Declaration
string FileFilter { get; set; }
Property Value
Type | Description |
---|---|
string |
InitialDirectory
Property to set or return the initial directory.
Declaration
DirectoryInfo InitialDirectory { get; set; }
Property Value
Type | Description |
---|---|
DirectoryInfo |
InitialFilePath
Property to set or return the initial file path to use.
Declaration
string InitialFilePath { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceGetFilename()
Function to retrieve a single file name.
Declaration
string GetFilename()
Returns
Type | Description |
---|---|
string | The selected file path, or null if cancelled. |