locked
App bar question I think.

    Question

  • What does the tick on a selected UIElement mean.  It seems to be related to the app bar.  If so are the contents of the app bar context sensitive, depending on which UIElement is touched (clicked).

     

    Greg Farquhar

     

    Friday, October 28, 2011 3:45 AM

Answers

  • The checkmark indicates that the object is selected.  There is no direct link between the selection and the app bar, except that app bars often contain commands to act on the selected items.

    --Rob

    Friday, October 28, 2011 4:08 AM
    Moderator
  • http://social.microsoft.com/Forums/getfile/27501/
     
    What does the tick on a selected UIElement mean. It seems to be related to the app bar. If so are the contents of the app bar context sensitive, depending on which UIElement is touched (clicked).
    Well, yes. The items on the App-bar, e.g. "Unpin", "Smaller", "Uninstall" refer to the tile selected.
     
    Or are you talking about something else?
     

    David Wilkinson | Visual C++ MVP
    Friday, October 28, 2011 9:58 AM
  • Hi Greg,

    As Rob said the check simply means that it has been selected with the mouse or gesture.  To answer the context sensitive question, yes it is context sensitive.  The app bar will be different depending on what type of application is pinned (Metro or Desktop) and the size of the icon and availability of a wide icon.

    -Jeff


    Jeff Sanders (MSFT)
    Friday, October 28, 2011 11:35 AM
    Moderator

All replies

  • The checkmark indicates that the object is selected.  There is no direct link between the selection and the app bar, except that app bars often contain commands to act on the selected items.

    --Rob

    Friday, October 28, 2011 4:08 AM
    Moderator
  • http://social.microsoft.com/Forums/getfile/27501/
     
    What does the tick on a selected UIElement mean. It seems to be related to the app bar. If so are the contents of the app bar context sensitive, depending on which UIElement is touched (clicked).
    Well, yes. The items on the App-bar, e.g. "Unpin", "Smaller", "Uninstall" refer to the tile selected.
     
    Or are you talking about something else?
     

    David Wilkinson | Visual C++ MVP
    Friday, October 28, 2011 9:58 AM
  • Hi Greg,

    As Rob said the check simply means that it has been selected with the mouse or gesture.  To answer the context sensitive question, yes it is context sensitive.  The app bar will be different depending on what type of application is pinned (Metro or Desktop) and the size of the icon and availability of a wide icon.

    -Jeff


    Jeff Sanders (MSFT)
    Friday, October 28, 2011 11:35 AM
    Moderator
  • Sorry to be a little obscure.  I have solved one problem.  I had a gridview rather than a grid embedded in a page. Just typing without thinking or perhaps I spend much of my day with asp.net and a small part with metro development. When altering the page element from a gridview to a grid, the selection does not happen of course.

    The second part, about being context sensitive is essentially to do with frames and pages. You cannot have an app bar as part of each page, it seems.  I would like to be able to control the contents of the app bar dependending on which page I am. I can put page navigation within the app bar and would like to be able to make visible page controls corresponding to the page that I am on.

    Also it now appears that I cannot control the app bar from withing any page in the frame. It can only be controlled from outside the frame.

     

    Greg Farquhar 

     

     

    Sunday, October 30, 2011 10:05 PM
  • Just a little more to my last comment. It is now obvious to me that you can control the app bar from within a page if the UIElement has IsTextSelectionEnabled set to false (or some equivalent property), at least with a RichTextBlock.

     

    Greg 

    Sunday, October 30, 2011 10:16 PM
  • And if I don't create PointerEventHandlers I can now raise the app bar from within a page. Understanding bit by bit.

     

    Greg Farquhar

    Sunday, October 30, 2011 11:35 PM