Show / Hide Table of Contents

Interface IFileDialog

Defines methods and properties for user interaction to open/save files via a dialog.

Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public interface IFileDialog

Properties

View Source

FileName

Gets the file name selected in the dialog.

Declaration
string FileName { get; }
Property Value
Type Description
System.String
View Source

FileNames

Gets an array that contains one file name for each selected file.

Declaration
IEnumerable<string> FileNames { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.String>

Methods

View Source

ShowOpenFileDialog(FileDialogArgs)

Shows the dialog for open file.

Declaration
bool ShowOpenFileDialog(FileDialogArgs fileDialogArgs)
Parameters
Type Name Description
FileDialogArgs fileDialogArgs
Returns
Type Description
System.Boolean
View Source

ShowSaveFileDialog(FileDialogArgs)

Shows the dialog for save file.

Declaration
bool ShowSaveFileDialog(FileDialogArgs fileDialogArgs)
Parameters
Type Name Description
FileDialogArgs fileDialogArgs
Returns
Type Description
System.Boolean

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX