concept ChildWindow control in category silverlight

appears as: ChildWindow control, ChildWindow control
Silverlight 4 in Action: Silverlight 4, MVVM, and WCF RIA Services

This is an excerpt from Manning's book Silverlight 4 in Action: Silverlight 4, MVVM, and WCF RIA Services.

Throughout this section, you’ll learn about the four types of visual prompts available in Silverlight. We’ll briefly cover the Popup control first, followed by the ChildWindow control-a control that provides the capability to display in-Silverlight dialogs. Then, we’ll dive into the two system dialogs made available in Silverlight: the OpenFileDialog, which is useful for getting a file from the user’s local file system, and the SaveFileDialog, which helps specify a location for saving a file on the local file system.

Listing 15.5 shows the default look and feel of the ChildWindow control. Before we get into how to customize that, we’ll cover the mechanics of showing and hiding the window.