O'Reilly logo

Pro Silverlight 5 in VB by Matthew MacDonald

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Child Windows

In many situations, you don't need a way to change the page—you just need to temporarily show some sort of content before allowing the user to return to the main application page. The obvious example is a confirmation dialog box, but Windows and web applications use pop-up windows to collect information, show basic program information, and provide access to configuration settings.

In Silverlight, you can create this sort of design using a handy content control called ChildWindow. Essentially, ChildWindow mimics the modal dialog boxes you've seen on the Windows platform. When you show a child window, the rest of the application information is disabled (and a gray shaded overlay is displayed over of it as a user cue). Then, the child ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required