Using ObservableCollection with WinRT (via a little shim!)
Colin Eberhardt, October 6th, 2011
WInRT introduces a new interface for collection change notification, IObservableVector, which means ObservableCollection no longer works with this framework. In this blog post I will show how you can use ObservableCollection, via a simple adapter, within you WInRT applications. <ItemsControl ItemsSource="{Binding Path=MyCollection, Converter={StaticResource ObservableCollectionAdapter}}"/> Developers are slowly starting to get their heads around the differences [...]
Developing Windows Phone 7 HTML5 apps with PhoneGap
Colin Eberhardt, September 29th, 2011
This article show the step-by-step development of a Windows Phone 7 HTML5 application using PhoneGap. It also looks at how viable this approach is for cross-platform mobile development. Introduction … and Why HTML5? Windows Phone 7 allows native application development in both Silverlight and XNA, both of which are mature framework with excellent tool support. [...]
XAML Finance – a cross-platform WPF, Silverlight, WP7 application
Colin Eberhardt, September 19th, 2011
I have just published a new article on codeproject which describes the development of XAMLFinance, a cross-platform application for the desktop (WPF), web (Silverlight) and phone (WP7).
Head over to codeproject to read about the development of this …
TweetSearch – A Cross platform Metro UI WinRT and Silverlight Application
Colin Eberhardt, September 16th, 2011
With the Windows 8 preview release earlier this week, developers are now faced with a whole new and exciting Microsoft stack. The Windows 8 architecture has something of a split-personality, incorporating a completely new runtime, WinRT together with the older Win32 and .NET framework. However, these sit on different sides of a physical divide in [...]
Automatically Showing ToolTips on a Trimmed TextBlock (Silverlight + WPF)
Colin Eberhardt, January 31st, 2011
Both WPF and Silverlight have a property TextTrimming=”WordEllipsis”, which trims the text that a TextBlock displays based on the available width. This blog post describes a simple method for automatically showing the full text as a tooltip whenever the text is trimmed. This is presented as an attached behaviour and works in both WPF and [...]
White Paper: Silverlight, WPF and Windows Phone 7 cross platform development
Colin Eberhardt, October 11th, 2010
Last week I gave a presentation at a joint Scott Logic / Microsoft event about how WPF and Silverlight are unifying the development platform for desktop, web and mobile. To accompany the talk I wrote a white paper which delves into this subject in a li…
Modal dialogs in cross-platform WPF/Silverlight applications
Colin Eberhardt, June 18th, 2010
This blog post looks at the problem of showing modal dialog windows in applications that target both the Silverlight and WPF platforms. A solution is provided which allows modal dialogs to be written that work well for both technologies. Silverlight is…

