Gorgon
Show / Hide Table of Contents

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 Source

DialogTitle

Property to set or return the title for the dialog.

Declaration
string DialogTitle { get; set; }
Property Value
Type Description
string
| Edit this page View Source

FileFilter

Property to set or return a file filter.

Declaration
string FileFilter { get; set; }
Property Value
Type Description
string
| Edit this page View Source

InitialDirectory

Property to set or return the initial directory.

Declaration
DirectoryInfo InitialDirectory { get; set; }
Property Value
Type Description
DirectoryInfo
| Edit this page View Source

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 Source

GetFilename()

Function to retrieve a single file name.

Declaration
string GetFilename()
Returns
Type Description
string

The selected file path, or null if cancelled.

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author