Hi
While working on a complex UI application in WPF I noticed that because I was using DataTemplates both the Xaml and the Code Behind got very messy, that is because if you need to implement some events in the code behind you basically “mix” code from the template and code from the Window, plus you cannot access the elements in the template from the code behind.
Let’s look at the following example:
We pay for user submitted tutorials and articles that we publish. Anyone can send in a contribution
Learn More