Search code examples
layoutexpression-blendsketchflow

Expression Blend's default LayoutRoot


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.


Solution

  • 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.