Difference between User Control and Custom Control Library

Posted by Rod on Stack Overflow See other posts from Stack Overflow or by Rod
Published on 2010-06-07T19:57:28Z Indexed on 2010/06/07 20:02 UTC
Read the original article Hit count: 188

Filed under:
|
|

I'm working on creating a date/time user control in WPF using C# 2008. My first user control. I'm also using Matthew MacDonald's book, "Pro WPF in C# 2008". In that book he strongly recommended creating a user control using the WPF Custom Control Library project template; so I followed his suggestion. I've finished writing the code which would go into what I think of as the code-behind file. Now I'm ready to write the XAML.

The only problem is, I just discovered there is no corresponding .xaml file? So, I don't get why using a WPF Custom Control Library project is better, or prefered, when writing a user control?

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf