Saturday, January 17, 2009

User Control vs. Custom Control in WPF

I think I read for about 4 hours on the internet last night, looking for a clear delineation between a "User Control" and a "Custom Control" in WPF applications... I found some discussion, but no clear answer. So once again I guess I learn by doing...

First up was the User Control... < run-on sentence> It seemed the best candidate because a lot of others were making them and I didn't see very many "Custom Controls", so after many head-banging hours trying to create a User Control, I found I can do most of what I need with one, including embedding other controls into it and doing Dependency Property stuff (a topic for many posts for us beginners), so I guess "Custom Controls" are to be ignored until you can't do what you need and must resort to something else? </run-on sentence>.

Sheesh.

No comments:

Post a Comment