Skip to main content

ISaveFileDialogService Members

Provides methods to save the data of a ViewModel to a file by using the standard dialog box.

Properties

Name Description
AddExtension Gets or sets a value indicating whether the dialog box automatically adds an extension to the file name if the user omits it. Inherited from IFileDialogServiceBase.
AutoUpgradeEnabled Gets or sets a value indicating whether the dialog box automatically upgrades appearance and behavior. Inherited from IFileDialogServiceBase.
CheckFileExists Gets or sets a value indicating whether the dialog box displays a warning when the user specifies a file name that does not exist. Inherited from IFileDialogServiceBase.
CheckPathExists Gets or sets a value indicating whether the dialog box displays a warning when the user specifies a path that does not exist. Inherited from IFileDialogServiceBase.
DefaultExt Gets or sets the default file extension.
DefaultFileName Gets or sets the default file name.
DereferenceLinks Gets or sets a value indicating whether the dialog box returns the location of the file referenced by the shortcut or it returns the location of the shortcut. Inherited from IFileDialogServiceBase.
File Gets an object specifying the file selected in the dialog box.
Filter Gets or sets a filter string which specifies options that are available in the “Files of type” box in the dialog box. Inherited from IFileDialogServiceBase.
FilterIndex Gets or sets the index of the filtering option currently selected in the dialog box. Inherited from IFileDialogServiceBase.
InitialDirectory Gets or sets the initial folder shown by the dialog box. Inherited from IFileDialogServiceBase.
RestoreDirectory Gets or sets whether the dialog should remember the previous directory and restore it when you show this dialog again. Inherited from IFileDialogServiceBase.
ShowHelp Gets or sets a value indicating whether the Help button is displayed in the dialog box. Inherited from IFileDialogServiceBase.
SupportMultiDottedExtensions Gets or sets a value whether the dialog box displays and saves files that have multiple file name extensions. Inherited from IFileDialogServiceBase.
Title Gets or sets the title displayed by the dialog box. Inherited from IFileDialogServiceBase.
ValidateNames Gets or sets a value indicating whether the dialog box accepts only valid Win32 file names. Inherited from IFileDialogServiceBase.

Methods

Name Description
Reset() Resets all properties to the default values. Inherited from IFileDialogServiceBase.
ShowDialog(Action<CancelEventArgs>, String, String) Shows the dialog box.
See Also