Prevent ContextMenu Close

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.
 
D

Daniel Moth

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top