Show / Hide Table of Contents

Class FileDialog

Implements a dialogs to open or save to the file system.

Inheritance
System.Object
FileDialog
Implements
IFileDialog
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Presentation.Controls
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
Type Description
System.String
View Source

FileNames

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

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

Methods

View Source

ShowOpenFileDialog(FileDialogArgs)

IFileDialog

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

True if a file has been selected, otherwise false.

View Source

ShowSaveFileDialog(FileDialogArgs)

IFileDialog

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

True if a file has been selected, otherwise false.

Implements

IFileDialog

Extension Methods

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