Files
docs-desktop/dotnet-desktop-guide/framework/winforms/controls/savefiledialog-component-overview-windows-forms.md
Andy De George c0ba284473 Initial winforms content migrated (#18)
* Merge winforms framework content to working branch (#14)

* Breadcrumb / TOC / Move net5 to net folder (#15)

* change path from net5 to net

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Add .net 5 winforms placeholder article (#16)

* added some metadata and adjusted net5 placeholder

* corrections

* corrections

* corrections

* Test1

* Swapping landing page vs concept

* fix links

* Fix links

* Fix desc
2020-09-01 16:26:21 -07:00

1.5 KiB

title, ms.date, f1_keywords, helpviewer_keywords, ms.assetid
title ms.date f1_keywords helpviewer_keywords ms.assetid
SaveFileDialog Component Overview 03/30/2017
SaveFileDialog
Save File dialog box [Windows Forms], displaying
SaveFileDialog component [Windows Forms], about SaveFileDialog
be7a625f-46fd-4d06-9985-b613dcbf9bd2

SaveFileDialog Component Overview (Windows Forms)

The Windows Forms xref:System.Windows.Forms.SaveFileDialog component is a pre-configured dialog box. It is the same as the standard Save File dialog box used by Windows. It inherits from the xref:System.Windows.Forms.CommonDialog class.

Working with the SaveFileDialog Component

Use it as a simple solution for enabling users to save files instead of configuring your own dialog box. By relying on standard Windows dialog boxes, the basic functionality of applications you create is immediately familiar to users. Be aware, however, that when using the xref:System.Windows.Forms.SaveFileDialog component, you must write your own file-saving logic.

You can use the xref:System.Windows.Forms.CommonDialog.ShowDialog%2A method to display the dialog box at run time. You can open a file in read/write mode using the xref:System.Windows.Forms.SaveFileDialog.OpenFile%2A method.

When it is added to a form, the xref:System.Windows.Forms.SaveFileDialog component appears in the tray at the bottom of the Windows Forms Designer in Visual Studio.

See also