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