WPF ControlTemplate vs UserControl
- by PaN1C_Showt1Me
Hi.
I've recently made an UserControl, which took quite a long time, because I had to work with custom Dependency Properties and so on...
Anyways, it was just a bunch of 3 controls: TextBox, Popup with Hierarchical Tree.
Now I realized I could probably write a ControlTemplate only. Hence what is the benefit of using UserControl?