Tidy Up Your Xaml And Code Behind, Use UserControls Inside Templates by Xaml templates

Sat, 25 Apr 2009 09:54:27 -0600

Tidy Up Your Xaml And Code Behind, Use UserControls Inside Templates

by Xaml templates @ Sat, 25 Apr 2009 09:54:27 -0600



So, by encapsulating the template in a UserControl we have achieved 3 things: Both Xaml and Code Behind are cleaner, and you know that if you are looking at Window1.xaml.cs all the code there relates to the Window and only him which ...