Scott Logic

Styles In Silverlight: Further Advanced Topics

August 19th, 2010
This article is part 3 of 4 in a series covering everything that I think is worth knowing about styles in Silverlight. The previous parts of the series are Styles in Silverlight: an Introduction and Styles in Silverlight – Inheritance, Precedence and Other Advanced Topics. This part of the series explores some further advanced topics: data [...]

Silverlight MultiBinding updated, adding support for ElementName and TwoWay binding

August 12th, 2010
This blog post describes an update to the Silverlight 4 MultiBinding technique I blogged about a couple of months ago to add support for ElementName binding and TwoWay binding. A few months ago I posted an update to my MultiBinding solution for Silverlight 4. This technique allows you to perform the same kind of multibindings which [...]

Styles in Silverlight – Inheritance, Precedence and Other Advanced Topics

July 29th, 2010
This article is part 2 of 4 in a series attempting to cover everything I think is worth knowing about styles in Silverlight 4. The previous article in the series was Styles in Silverlight: an Introduction that covered what styles are, how they can be defined and some of their limitations. This article focuses on [...]

Styles in Silverlight: an Introduction

July 23rd, 2010
This article is part 1 of (planned) 4 in a series attempting to cover everything I think is worth knowing about styles in Silverlight 4. What are Styles? Styles in Silverlight are a powerful mechanism that allow controlling the visual representation of elements in a unified way for all user interface elements. The concept is similar to [...]

Exposing and Binding to a Silverlight ScrollViewer’s Scrollbars

July 21st, 2010
The Silverlight ScrollViewer exposes readonly properties which indicate the current vertical and horizontal scroll offset, and methods for setting the current offset. In this blog post I demonstrate a simple attached behaviour that exposes these offsets as read / write dependency properties allowing them to be bound to. The Silverlight ScrollViewer is a very useful control, [...]

Silverlight World Cup Mashup Wins Real-Time Push Web App Competition

July 12th, 2010
A month ago Kwwika, a real-time data streaming service provider annonced a competition to build a mash up that uses their World Cup 2010 Twitter streams. I’ve decided to enter the competition and visualize the stream of tweets in a fun and engaging way. As the competition closed on 11th July, my entry was selected [...]

Modal dialogs in cross-platform WPF/Silverlight applications

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, roughly speaking, a subset of Windows Presentation Foundation (WPF). This means that it is possible [...]

Silverlight MultiBinding solution for Silverlight 4

May 10th, 2010
In this post I describe an update to the Silverlight MultiBinding solution I presented last year. This update includes support for Silverlight 4, attached properties and multiple bindings on a single object. MultiBinding is a WPF feature that allows you to bind a single property to a number of sources, with the source values being combined [...]

Advanced Printing in Silverlight: Printing Charts and Auto Scaling

May 7th, 2010
Printing support has been introduced in Silverlight 4. This means that any part of the visual tree can be printed in a simple way via API calls. This article gives an overview of how to execute basic printing, looks at what happens when printing complex objects (e.g. charts) and describes how to auto scale elements [...]

Determining Silverlight Version Installed

April 29th, 2010
The other day I wanted to find out what version of Silverlight is installed on my computer. This task is actually not as simple as it sounds as the Silverlight plugin is actually browser dependent: there’s a different one installed for Internet Explorer and a different for other browsers. The only way I’ve found to [...]