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
Month: March 2009
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 + Mac Pro = Heaven
Lately, I have been doing a lot of testing with Silverlight as the front end for various Microsoft products such as MOSS, CRM, Commerce Server and it has been great having the horse power and flexibility to run all these guys on one machine while being a single Control-Arrow away from a Mac desktop to … Continue reading Silverlight + Mac Pro = Heaven
Silverlight Custom Panels Part III : Sine Panel
The next panel is one that has been done before but before I extend it in the next chapter I wanted to explain how the original panel worked. Basically we take the number of children we have and divide 360 degrees by that number. This gives us our angle increment which we then use to … Continue reading Silverlight Custom Panels Part III : Sine Panel
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