While the canvas can be used to lay out controls on a page, it can serve double-duty and be hidden / shown to simulate a dialog box in your Windows Phone 7 applications. Bob demonstrates the technique used to show and hide a canvas that contains other controls, using C# code to set the Visibility property to either Hidden or Visible.
Download the source code in c#
Download the source code in VB.Net
