Should I inherit from a stackpanel instead of a stack panel, grid or other UI element or UserControl
- by Joel Barsotti
So I'm building a peice of UI that might me in a dialog window or might be in embedded in part of a bigger page.
I don't have alot of experience with WPF, but in ASP.NET you always used UserControls, because their wasn't anyt really generic UI inherit to inherit from (and in a way UserControl was just a div).
My coworker has written alot of…