Model-View-ViewModel: View Model Composition Approach

ViewModel composition is where you have multiple complex view parts that need to bind to their own ViewModel entity. The approach entails constructing a root ViewModel with properties for each child ViewModel. Then the root View is bound to the root View Model and each View (whether displayed or collapsed) is bound to the corresponding … Continue reading Model-View-ViewModel: View Model Composition Approach

Advertisement

Silverlight 3: Taking an application offline

One of the exciting new features of Silverlight 3 is the ability to take an application offline. In order to take advantage of this feature you must do three things: Establish Application’s Offline Identity. Detach the application. Handle when running offline. Step 1: Establish Application’s Offline Identity The application’s offline identity is defined in a … Continue reading Silverlight 3: Taking an application offline

The WPF Umbrella: How WPF is driving Microsoft’s UI platforms

I get a lot of confusion from non-techie types about what WPF is versus Silverlight, Surface and the like. So after noticing myself right paragraph after paragraph, to person after person. I realized that the relationships between these technologies and products can be pretty easily visually representing. You might notice that something interesting about the … Continue reading The WPF Umbrella: How WPF is driving Microsoft’s UI platforms

Silverlight Custom Panels Part II : Fermat Spiral Panel

This next panel demonstrates that truly any mathematical algorithm can be leveraged to efficiently produce custom layout logic. In this case rather than using the boring old circular panel trick I thought I would pick a new algorithm to see what its affect was. I chose Fermat’s Spiral. Fermat’s spiral takes in two parameters: a … Continue reading Silverlight Custom Panels Part II : Fermat Spiral Panel

Silverlight Custom Panels Part I : Ellipse Panel

This is the first part of a multi-part panel series. One of the areas that I was so impressed with WPF and Silverlight was the power of the layout system. An element’s layout is truly decoupled from the visual rendering of elements and as WPF/Silverlight developers we wield full control over that through something called … Continue reading Silverlight Custom Panels Part I : Ellipse Panel