Class FileDialog
Implements a dialogs to open or save to the file system.
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
[Export(typeof(IFileDialog))]
[PartCreationPolicy(CreationPolicy.NonShared)]
public class FileDialog : IFileDialog
Properties
View Source
FileName
Gets the file name of the selected file.
Declaration
public string FileName { get; }
Property Value
View Source
FileNames
Gets an array that contains one file name for each selected file.
Declaration
public IEnumerable<string> FileNames { get; }
Property Value
Methods
View Source
ShowOpenFileDialog(FileDialogArgs)
Declaration
public bool ShowOpenFileDialog(FileDialogArgs fileDialogArgs)
Parameters
Returns
| Type |
Description |
| bool |
True if a file has been selected, otherwise false.
|
View Source
ShowSaveFileDialog(FileDialogArgs)
Declaration
public bool ShowSaveFileDialog(FileDialogArgs fileDialogArgs)
Parameters
Returns
| Type |
Description |
| bool |
True if a file has been selected, otherwise false.
|
Implements
Extension Methods