Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ShowDialog Method
Collapse the table of content
Expand the table of content

SaveFileDialog.ShowDialog Method

Displays a common dialog.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method ShowDialog() Displays a common dialog. (Inherited from CommonDialog.)
Public method ShowDialog(Window) Displays a common dialog. (Inherited from CommonDialog.)
Top

ShowDialog performs initialization tasks for all common dialogs before calling RunDialog. Since RunDialog requires an owner window, ShowDialog attempts to assign one in the following order of precedence:

  • The current application's active window.

  • The current application's parking window.

  • An internally generated hidden window.

Show:
© 2015 Microsoft