How to specify a default appbar that is customized by the fragment currently loaded in the navigator? RRS feed

  • Question

  • I would like to have a default app bar that gets additional commands / text input for each fragment loaded.

    What's the best way to do that? Can this be done via HTML fragments too or via code?

    Friday, February 3, 2012 1:08 PM


  • Hi Phil,

    Take a look at the SplitPage template and fragmentLoad().

    You have access to document which is the entire HTML document.  You can query to get the appbar and add, customize disable items etc...



    Jeff Sanders (MSFT)
    Friday, February 3, 2012 2:44 PM