Click or drag to resize

SaveFileData Class

Provides the data to be used for the save file dialog.
Inheritance Hierarchy
SystemObject
  SniffCore.Navigation.DialogsSaveFileData

Namespace:  SniffCore.Navigation.Dialogs
Assembly:  SniffCore.Navigation (in SniffCore.Navigation.dll) Version: 1.6.0
Syntax
C#
public class SaveFileData : ISaveFileData

The SaveFileData type exposes the following members.

Constructors
  NameDescription
Public methodSaveFileData
Creates a new instance of SaveFileData.
Top
Properties
  NameDescription
Public propertyCheckFileExists
Gets or sets a value indicating whether the dialog box displays a warning if the user specifies a file name that does not exist.
Public propertyCheckPathExists
Gets or sets a value indicating whether the dialog box displays a warning if the user specifies a path that does not exist.
Public propertyCreatePrompt
Gets or sets a value indicating whether the dialog box prompts the user for permission to create a file if the user specifies a file that does not exist.
Public propertyDefaultExt
Gets or sets the default file extension.
Public propertyFileName
Gets or sets a string containing the file name selected in the file dialog box.
Public propertyFileNames
Gets the file names of all selected files in the dialog box.
Public propertyFilter
Gets or sets the current file name filter string, which determines the choices that appear in the "Save as file type" or "Files of type" box in the dialog box.
Public propertyFilterIndex
Gets or sets the index of the filter currently selected in the file dialog box.
Public propertyInitialDirectory
Gets or sets the initial directory displayed by the file dialog box.
Public propertyOverwritePrompt
Gets or sets a value indicating whether the Save As dialog box displays a warning if the user specifies a file name that already exists.
Public propertyTitle
Gets or sets the file dialog box title.
Public propertyValidateNames
Gets or sets a value indicating whether the dialog box accepts only valid Win32 file names.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodIsNullOrEmpty
Checks if the object is null or an empty string.
(Defined by ObjectEx.)
Public Extension MethodIsNullOrWhiteSpace
Checks if the object is null, an empty string or a string which consists of whitespace (or tabs) only.
(Defined by ObjectEx.)
Top
See Also