In this article we will see how to open a Context Menu in Windows Phone 8.
Let us see the procedure for opening a Context Menu in Windows Phone 8. Create a new project with a valid name, once everything is ready our project looks as in the following screen.Now add one TextBlock control to the triggers and show the context menu, change the TexxtBlock content to “Open Context Menu”.Next add a reference for Microsoft.Phone.Controls.Toolkit.dll to your project. You can get this DLL in the following URL.Now add the following namespace in the XAML page.xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit" XAML Code
Step into Windows Phone 8