Prevent ContextMenu Close

  • Thread starter Thread starter Myron Marston
  • Start date Start date
M

Myron Marston

I have a context menu on my listview displaying multiple options that
the user can check/uncheck. Each time they check or uncheck one the
context menu disappears and the user is forced to tap-and-hold again to
do another option.

Is there a way to prevent the context menu from closing when the user
clicks one of the menu items? I would like it to only close when the
user clicks outside of the context menu.
 
No. That is how menus behave on all platforms.

You could reconsider your design and instead of a menu use a dialog with all
the options as checkboxes/list with checkboxes...

Cheers
Daniel
 
Back
Top