Templating User Controls in Blend RRS feed

  • Question

  • Is it possible to make a template for User Controls?  My developer wants me to hand her a blank User Control that has areas that she can snap in content (think like a grid).  Is this possible in a WPF application?

    Friday, November 6, 2009 2:34 PM

All replies

  • If you want a fully templatable control, you should make a CustomControl instead of a UserControl.  They are generated in a way that is templatable by default.

    UserControls are designed more for making composite controls (controls built from other controls), and do not template well.
    Reed Copsey, Jr. - http://reedcopsey.com
    Friday, November 6, 2009 5:35 PM