SfListView allows you to display a pop-up menu with different menu items to an item when it is long pressed by customizing the SfListView and by using custom view in it. For UWP platform, you can also display the pop-up menu when press right click button over the item. Display the pop-up menu by accessed the touch position in the item based on Position property from event.
The following code example illustrates that SfListView to display a context menu, adding different menu items and layout the pop-up menu in it.
Layout the Pop-Up Menu:
Defining the SfListView:
Now run the application with the following output.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|