CommonDialog.ShowDialog Method (Window)
Displays a common dialog.
Assembly: PresentationFramework (in PresentationFramework.dll)
- Type: System.Windows.Window
Handle to the window that owns the dialog.
ShowDialog performs initialization tasks for all common dialogs before calling RunDialog. Additionally, the dialog that is eventually shown is assigned an owner window, which is specified by the owner parameter.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)