title: Windows Phone 8 - ContextMenu in ListBox for ListBoxItem
body: <p>I'm having a ListBox (binds to an observable collection) with the ListBoxItems design defined in the ItemsPanel StaticResource.
  The ItemsPanel is defined in the App.xml (like to have my stuff in a central place and the design for the ListBoxItem is used on different pages)
  Now for every Listbox I need to have a different ContextMenu, and there comes the thing, I don't get working...</p>
  
  <p>In my App.xaml (small demo - didn't want to bloat the topic, here):</p>
  
  <pre><code>&lt;Application.Resources&gt;
      &lt;DataTemplate x:Key="ListItemTemplate"&gt;
          &lt;TextBlock Text="{Binding Title}" /&gt;
      &lt;/DataTemplate&gt;
  &lt;/Application.Resources&gt;
  </code></pre>
  
  <p>In my MainPage.xaml I have the Listbox defined.:</p>
  
  <pre><code>&lt;ListBox ItemsSource="{Binding Items}" 
           ItemTemplate="{StaticResource ListItemTemplate}"&gt;
  
      &lt;ListBox.ItemContainerStyle&gt;
          &lt;Style TargetType="ListBoxItem"&gt;
              &lt;Setter Property="toolkit:ContextMenuService.ContextMenu"&gt;
                  &lt;Setter.Value&gt;
                      &lt;toolkit:ContextMenu&gt;
                          &lt;toolkit:MenuItem Header="Test" /&gt;
                      &lt;/toolkit:ContextMenu&gt;
                  &lt;/Setter.Value&gt;
              &lt;/Setter&gt;
          &lt;/Style&gt;
      &lt;/ListBox.ItemContainerStyle&gt;
  &lt;/ListBox&gt;
  </code></pre>
  
  <p>However, if I long-press a ListBoxItem, nothing happens. I have no errors - nothing - but the Contextmenu just doesn't show up... (neither in the emulator, nor on the device).</p>
  
  <p>If I add a ContextMenu to the LayoutRoot gird or something else, It works like a charm.</p>