locked
Replacing Holding Handler when using mouse

    Question

  • Hi,

    I am developing an app where the Holding event is rather important (it brings up a small menu, where the user can select actions).  However, when a mouse is being used, I'm not entirely sure what the best option is to bring up this small menu. The tapped event is already in use, where it will find and select objects on the surface.

    The two options I can think of off the top of my head are:

      • Use the tapped event, detect if a mouse is being used, and if no object is being detected, then bring up the menu.
      • Use the right tapped event. However, this generally brings up the app bar, so it's somewhat awkward. Especially since most of the "white space" of my app will bring up this menu. That would mean that I would have to bring up both the app bar and my menu.

    Also, I do not want to put these options in the app bar.

    I'd prefer to follow the guidelines for Metro style apps as closely as possible, so any advice along those ways would be appreciated.

    Thanks!

    Tomas

    Friday, October 5, 2012 12:35 AM

All replies