---
title: "FileDialog Class"
ms.date: "03/30/2017"
helpviewer_keywords: 
  - "FileDialog class [Windows Forms]"
ms.assetid: 85a8fb62-c7d9-4a30-9b74-1cd10efe6ccb
---
# FileDialog Class
The Windows Forms <xref:System.Windows.Forms.FileDialog> class is the common base class for the <xref:System.Windows.Forms.OpenFileDialog> and <xref:System.Windows.Forms.SaveFileDialog> components. You can make changes to the <xref:System.Windows.Forms.FileDialog> class that affect the appearance and behavior of these dialog boxes, depending on the version of Windows the application is running on.  
  
## In This Section  
 [How To: Opt Out of File Dialog Box Automatic Upgrade](how-to-opt-out-of-file-dialog-box-automatic-upgrade.md)  
 Describes how to opt out of a style automatic upgrade to a file dialog box.  
  
 [How To: Add a Custom Place to a File Dialog Box](how-to-add-a-custom-place-to-a-file-dialog-box.md)  
 Describes how to add a custom file location to a file dialog box.  
  
 [Known Folder GUIDs for File Dialog Custom Places](known-folder-guids-for-file-dialog-custom-places.md)  
 List the folder names and their associated GUIDs.  
  
## Reference  
 <xref:System.Windows.Forms.OpenFileDialog>  
  
 <xref:System.Windows.Forms.SaveFileDialog>  
  
## Related Sections  
 [OpenFileDialog Component](openfiledialog-component-windows-forms.md)  
  
 [SaveFileDialog Component](savefiledialog-component-windows-forms.md)
