Designing XAML User Interfaces from a Different Perspective

XAML brings many benefits to developing user interfaces, but requires you to take a different approach to laying out the controls on the page and interacting with the code-behind. If you primarily develop Windows Forms applications, you are probably used to simply dropping controls on a form and pushing data into them from the code-behind. Essentially, you are probably used to the code-behind controlling the user interface, with the user interface functioning in a subservient role.

While this structure is still possible in Silverlight, the power of XAML enables the user interface to take the controlling role, with the code-behind (or a ViewModel, which is a part of the Model-View-ViewModel ...

Get Pro Business Applications with Silverlight 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.