Alex Golesh's Blog About Silverlight Development

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">
...

Monday, March 15, 2010

This post will focus on improvements (well some of them) in Silverlight’s 4 RC Out-Of-Browser features. I’ll show how to change shape of your Out-Of-browser (OOB) application. Note: the application has to be elevated application. All needed to take application out of browser is to check this small checkbox in Silverlight’s project settings: This is not new. But the combo in OOB Setting dialog is new: This allows to change the Windows shape in Elevated OOB applications. Small tip here: when you changing you...

Thursday, February 25, 2010

DevAcademy 4 is coming at March 22, at Airport City near Lod (local event). Come and see me presenting new features of Silverlight 4! At this session I’ll new line of business (LOB) related features of Silverlight 4, improved out of browser model, native automation and much more. Great time and many cool samples involved. My session is: What’s new in Silverlight 4 Other sessions list (draft) is here. Registration is open! Register here. Hope to see you there! Alex

Wednesday, November 18, 2009

In addition to previous features, Silverlight 4 adds some more nice improvements to Out-of-Browser model. Now it allows to control Top/Left position of the out-of-browser window, bring it to the foreground (if not active), check if the window is topmost and define it’s Width/Height. All those features being exposed by MainWindow object of Application: Additional feature is Notification Window. It is a notification area that is displayed in the system area, at the bottom right part of the screen. In application described at previous post (here) I’ve added a button to show notification...

Silverlight 4 enhances the out-of-browser feature introduced in previous version of the technology. Silverlight 3 added a feature to use application in Out-of-browser mode – install application shortcut to desktop or start menu, and launch it within application launcher (instead of the browser). Along with it, the application still was sandboxed application, with the same set of restrictions, like in browser. Silverlight 4 extends this feature and allows to relax some of the sandbox restrictions while running application with elevated permissions. First, let’s see what will be allowed under elevated permissions… The runtime will allow: ...

Friday, July 10, 2009

In MIX 09 Beta build of Silverlight 3, when we wanted to enable out-of-browser experience, we had to edit manually AppManifest.xml. Now for Silverlight 3 projects in Visual Studio 2008 we got the out of browser settings helper dialog box The dialog will be saved in “OutOfBrowserSettings.xml” and this file contents will be merged on compile time to the AppManifest.xml. For hardcore programmers, who wants to write every single piece of the application without wizards/helpers – you still could use AppManifest.xml with valid declarations :) Enjoy, ...