- WPF Unleashed I basically read almost from cover to cover, except few topics like 3D and easing functions (3d is not in exam but easing function is, I just didn't have time in the end to cover easing functions)
- MSPress book also I went through all chapters.
- But these things would not matter if you don't have experience of at least 1.5-2 years of developing real world WPF applications.
I have certainly gained a deep understanding of the technology and appreciate it a lot more now. There are few things that I did not know, …
Recently we had a requirement in our project to establish communication between two view models.The user interface design and their data context values:
The ‘User Control 1” (UC1) has a grid showing the list of business products and ‘User Control 2’ (UC2) a grid with categories of products. The categories and products can be added/removed/changed by the user.We had a business case that – if the category is removed by the user on UC2 then what should happen to the products on UC1 which are using that category? It was decided to delete those products and it should happen automatically – that is the deletion of category should trigger the deletion of product from the list.The model contains the observable collection of Products and Categories and bound to the grids on the UI. The categories are deleted with the help of button in one of the columns, this button is connected to a DeleteCommand in the UC2 view model which deletes the selected category from the list.So how can we “do somethin…