A non-trivial application may also display additional windows to do the following: dialog box is displayed by a function when the function needs additional data from a user to continue.
A dialog box, on the other hand, does not prevent a user from activating other windows while it is open.
For example, if a user wants to find occurrences of a particular word in a document, a main window will often open a dialog box to ask a user what word they are looking for.
Windows Presentation Foundation (WPF) allows you to create several types of dialog boxes, including message boxes, common dialog boxes, and custom dialog boxes.
This topic discusses each, and the Dialog Box Sample provides matching examples.
A is a dialog box that can be used to display textual information and to allow users to make decisions with buttons. For detailed discussion of printing in WPF, see Printing Overview.