Windows 8 Consumer Preview and Visual Studio 11 Beta – Show Message Dialogs and Popup Menus (Part 9/11)

Wednesday, February 29, 2012

This post is about popups. Why popups? Who need them? Popups needed to present some important info to the user in modal way or to present some overlays above other screen elements. Lets start from Message Box. WinRT lacks MessageBox support in classic understanding or this UI element. While showing classic dialog box over Metro application is definitely possible from technical point of view (see screenshots in the post about In-App purchases), it completely destroys Metro look and feel of the application. For this reason WinRT provides MessageDialog class in Windows.UI.Popups namespace....