WPF ControlTemplate vs UserControl

Posted by PaN1C_Showt1Me on Stack Overflow See other posts from Stack Overflow or by PaN1C_Showt1Me
Published on 2009-07-15T12:30:18Z Indexed on 2010/03/31 6:43 UTC
Read the original article Hit count: 624

Filed under:
|
|
|

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?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about controltemplate