Intro Often extensions for Expression Blend need to store some global variables. Why not use the mechanisms Blend itself offers? I’d like to show you how to add a custom options page to the options dialog. I’ve started the example project by creating a new C# WPF Custom Control Library project and naming it ExtendingBlendOptionsTutorial. The details on how to create a new Blend Extension can be found here. You need to make sure the Microsoft.Expression.Extens... and Microsoft.Expression.Framework ......
Intro One of the new additions in Expression Blend 4 is the Silverlight Databound Application Project template. I use that often when starting a new MVVM project. The template creates View and ViewModel folders and provides a good starting point for Model-View-ViewModel applications. The only downside is that this template is only available in Expression Blend and not in Visual Studio 2010. I’ve exported the project to a Visual Studio template to be able to use it in VS2010 too. Download The template ......
Intro When running Silverlight 4 out of the browser it could become handy to know that the application is being closed. In case of my open source demo application SilverAmp (http://SilverAmp.CodePlex.... I wanted to notify the user the application is being closed when music is still playing. Catching the event In Silverlight 4 a new event has been added to the System.Window class. This event is raised when the application is being closed. Closed in any way: by the user hitting F4; by the user clicking ......