locked
AppBar style command icons outside of the AppBar?

    Question

  • Is it possible to use AppBar style icons (i.e. glyph in a circle) outside of the AppBar? I'd like to use some similarly styled icons in a panel, but it doesn't appear that it's possible to do this with any sort of built-in styling/controls. The only way I could think to do it is to either just to create them as pngs or to use the Segoe Symbol font and a border with a border radius of 1/2 the button width (to create the circle around it), which seems a little messy when there are built-in controls for doing this elsewhere in Win Store apps (ie. the appbar).

    Monday, October 15, 2012 10:50 PM

Answers

  • Is it possible to use AppBar style icons (i.e. glyph in a circle) outside of the AppBar? I'd like to use some similarly styled icons in a panel, but it doesn't appear that it's possible to do this with any sort of built-in styling/controls. The only way I could think to do it is to either just to create them as pngs or to use the Segoe Symbol font and a border with a border radius of 1/2 the button width (to create the circle around it), which seems a little messy when there are built-in controls for doing this elsewhere in Win Store apps (ie. the appbar).


    I'm pretty sure that if you look at how they style the app bar commands, the border radius is actually exactly what they do. You might be able to create a similar abstraction and use that to get the effect you're looking for.
    • Marked as answer by Song Tian Friday, November 9, 2012 6:26 AM
    Tuesday, October 16, 2012 4:58 AM