Tim Van Wassenhove

Passionate geek, interested in Technology. Proud father of two

01 Nov 2009

Another method i wrote once too many

Virtually every Silverlight application will fetch resources at one point or another. In case you’re using the Web...
29 Oct 2009

Party for one

Inspired by Jimmy Bogard’s More missing LINQ operators i found another one public static IEnumerable<T> Make...
29 Oct 2009

Presenting PathBuilder

Currently it is annoying to build a path with Path.Combine var home1 = Path.Combine(Path.Combine(Path.Combine("C"...
19 Oct 2009

Separation of concerns: Behavior = Trigger + TriggerAction

If you look at my KeyBehavior you notice that it is doing two things: register for events so that the behavior can be tr...
19 Oct 2009

True KeyBehavior with System.Windows.Interactivity.Behavior

Yesterday i demonstrated how attached properties can be used to invoke commands on specific key presses (and releases). ...
17 Oct 2009

Silverlight: leveraging attached properties to handle key events

I strongly believe that input handling is a responsability that belongs to the View. At first i simply added the followi...
16 Oct 2009

Exploring graphical programming with Blend, Visual State Manager and Behaviors

A while ago i presented the ControlStateMachine and in Silverlight this concept is implemented as the Visual State Manag...
13 Oct 2009

About databinding and composite views

A couple of days ago i had a databound ItemsControl (collection of Model.Cell) which instantiated sub views (with their ...
13 Oct 2009

Exploring M-V-VM

A couple of years ago a collegue recommended Data Binding with Windows Forms 2.0: Programming Smart Client Data Applicat...
13 Oct 2009

ViewModel to translate domain messages to view events

Here is an example of a ViewModel that translates domain messages to view events: class GameViewModel : INotifyPropertyC...