Silverlight 5–What’s New #2

Wednesday, April 13, 2011

This is a second post in series of posts about new features in Silverlight 5. This post focuses at simple, yet much desired feature of multiple windows support. First – some clarification: multiple windows will work in elevated out-of-browser mode only. To demonstrate this feature I’ve built simplest application which spans 5 additional windows on button click. The “child” window presents a UserControl. Child window content: <UserControl x:Class="MultipleWindows_OOB.ChildWindowContent" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400"> ...