开发者

Expression Blend's default LayoutRoot

开发者 https://www.devze.com 2022-12-12 05:47 出处:网络
Is there a way to change the default LayoutRoot type in Expression Blend开发者_如何学运维 3? Currently, I\'m prototyping in SketchFlow, and I prefer Canvas over the Grid, and it\'s annoying to change

Is there a way to change the default LayoutRoot type in Expression Blend开发者_如何学运维 3? Currently, I'm prototyping in SketchFlow, and I prefer Canvas over the Grid, and it's annoying to change it for every new screen.


Here is answer that will work, but you will need to change the templates:

  1. Back up the contents of the template directory which resides here: %ProgramFiles%\Microsoft Expression\Blend 3\Templates\
  2. Find the templates being used in: %ProgramFiles%\Microsoft Expression\Blend 3\Templates\(CSharp|VisualBasic)\
  3. In that directory there will be 4 relevant templates: SketchFlowCompScreen, SketchFlowCompScreenSL, SketchFlowNavScreen, SketchFlowNavScreenSL
  4. If you edit the xaml files within these, whenever you create a new screen in SketchFlow the screens will use your changes.
0

精彩评论

暂无评论...
验证码 换一张
取 消