title: Context menu for List in Windows phone
body: <p>First of all, I know about this topic: <a href="https://stackoverflow.com/questions/14166876/how-to-make-context-menu-work-for-windows-phone">How to make context menu work for windows phone?</a></p>
  
  <p>But this way is SOO complicated... 
  So I have this XAML code:</p>
  
  <pre><code> &lt;StackPanel Name="friendsGrid" Margin="0,0,0,0" Background="Transparent"&gt; 
     &lt;ListBox Name="friendsListBox" FontSize="32" Tap="friendsListBox_Tap"&gt;
       &lt;toolkit:ContextMenuService.ContextMenu&gt;
       &lt;toolkit:ContextMenu Name="MyContextMenu" Opened="MyContextMenu_Opened"&gt;
       &lt;toolkit:MenuItem Header="action" Click="contextMenuAction_Click"/&gt;
       &lt;/toolkit:ContextMenu&gt;
       &lt;/toolkit:ContextMenuService.ContextMenu&gt;
     &lt;/ListBox&gt;
   &lt;/StackPanel&gt;
  </code></pre>
  
  <p>And I'm filling the list like this:</p>
  
  <pre><code>this.friendsListBox.Items.Add(friend.serviceName);
  </code></pre>
  
  <p>But, of course, when I do longtap, the context menu appears and selects the whole List, not only one item.</p>
  
  <p>Is there some easy way to recognize the item was tapped?
  Thanks</p>
  
  <p>BTW, I found this method, but contextMenuListItem doesn't recieve anything, it's still null:</p>
  
  <pre><code>ListBoxItem contextMenuListItem = friendsListBox.ItemContainerGenerator.ContainerFromItem((sender as ContextMenu).DataContext) as ListBoxItem;
  </code></pre>