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.