In my Universal Windows App, I am subscribing to the Holding event in my ListViewItem DataTemplate:
<ListView.ItemTemplate>
<DataTemplate>
<Grid Holding="ListViewItem_Holding">
<FlyoutBase.AttachedFlyout>
<MenuFlyout Placement="Right">
<!-- using the Click event -->
<MenuFlyoutItem Text="delete" Click="DeleteProductClick" />
<MenuFlyoutItem Text="edit" />
</MenuFlyout>
</FlyoutBase.AttachedFlyout>
<TextBlock Text="{Binding Name}" />
</Grid>
</DataTemplate>
</ListView.ItemTemplate>
All works well using the Visual Studio Simulator and touch mode, but I cannot find a way to invoke the context menu using my mouse. Do I have to use a GestureRecognizer to get the context menu to work for the desktop application (as opposed to the tablet version)?