ContextMenu on listview closes when new item is added

R

RonNanko

I am facing a userinteraction issue with a listview, which is
populated/updated by a background task.

While the population of the listview is taking place, the user should
already be able to execute actions on the already visible items.

For convenience purposes, I have added a contextmenu to the listview,
which contains the most commonly used commands. This works fine as long
as the listview's content does not change, but the context menu closes
automatically, as soon as a new listview item is added to the list.

Is there a way to keep the context menu open although the list's
content changes?

Thank you in advance for any insight on this topic,
Ron
 
J

Jani Järvinen [MVP]

Ron,
I am facing a userinteraction issue with a listview, which is
populated/updated by a background task.
Is there a way to keep the context menu open although the list's
content changes?

To me, it would sound most logical if you would defer the updates of the
list if a popup menu is currently open. You could use a simple flag for this
purpose.

It is of course nice to have a list that updates in the background, but it
would lead to a better user experience, if the list would "freeze" once the
user opens the popup menu.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
(e-mail address removed)
http://www.saunalahti.fi/janij/
 

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