Expression > 論壇首頁 > Expression Blend + SketchFlow > Templating User Controls in Blend
發問發問
 

問題Templating User Controls in Blend

  • 2009年11月6日 下午 02:34GraceCaseyGroup 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    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?

    Thanks!

所有回覆

  • 2009年11月6日 下午 05:35Reed Copsey, Jr. 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    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