Reputation: 2665
Is there any default way to have context menu in WinRT.
am migrating my WPF application to WinRT Xaml, and am in search of Context menu support in WinRT.
How could i achieve this?
Upvotes: 0
Views: 1767
Reputation: 5986
PopupMenu is the built-in class for context menu functionality. It has a limitation of 6 commands and provides a separator support. It is not a control, so it has no UI customization or design time support. You can look at this example for how it is used.
Upvotes: 0
Reputation: 31724
Typically the AppBar is the best replacement for a ContextMenu. If you really need a hidden touch&hold sort of a context menu you could try the context Menu control from Callisto. Windows 8.1 adds a MenuFlyout control which I think is similar to the one in Callisto.
Upvotes: 4
Reputation: 2732
Why not opt for FlyOut Control?! IMHO it should support for any framework.
Upvotes: 0