Advanced XAML and Data Binding
Throughout this book, you’ve learned how to work with and write XAML, and you’ve also learned how to bind to data. By structuring your application well and using the available binding mechanisms effectively, you can reduce the amount of code required in the code-behind (which can be difficult to test) and have the XAML take control of displaying the appropriate data and letting the user interact with it. However, at times, you will probably come up against difficult scenarios when trying to achieve this outcome, whose solution may not be immediately obvious. In this chapter, we will take a deep dive into the more advanced features of XAML and data binding in Silverlight and provide you with the tips, tricks, and techniques to harness the full power of XAML and the data binding engine.
KeywordsData Binding Data Context Visual Studio Source Property Attached Property
Unable to display preview. Download preview PDF.