WinUI-Gallery icon indicating copy to clipboard operation
WinUI-Gallery copied to clipboard

ListView with ContextMenu Sample

Open michael-hawker opened this issue 5 years ago • 1 comments

Is this a totally new sample, an addition to an existing sample page, or a modification of an existing sample page?

  • [x] New sample
  • [x] Addition to existing sample
  • [ ] Modification to existing sample

If this is an addition/modification to an existing sample page, which one? ListView

Describe the sample Would be great to show adding a ContextMenu to a ListView. It should also show how to get the context of the item clicked (and not just a general menu).

Is your sample request related to a problem? Please describe it No good resources for best practice in this area, many different solutions on SO with differing implementations. Would be good to show guidance and best-practices in this space here.

michael-hawker avatar Jul 30 '20 08:07 michael-hawker

We have a sample for this in the Gallery under StandardUICommand - in addition to a ContextMenu, it also includes hover buttons and swipe. This page is linked from the ListView page.

Does this page cover what you're looking for? Maybe there is a way to increase its discoverability...

stmoy avatar Jul 30 '20 13:07 stmoy