title: Completely Custom Context Menu
body: <p>I am trying to create a completely custom context menu for a touch application with a radial style ("pie slices" for each item). I have been able to create one from with a base of ItemsControl. However, when I try to switch this to a base of ContextMenu, I cannot get rid of the default pop-up with each pie slice in a list of items. </p>
  
  <p>Is there any way to override the default ContextMenu style to get rid of this items list functionality?</p>
  
  <p>Edit: This is a screen shot of my problem. The code is almost the exact same between the two examples, other than what class is inherited from and how it displays (adding as a child to a Canvas vs. showing the popup)</p>
  
  <p><img src="https://i.stack.imgur.com/jJEBP.png" alt="Top: The custom context menu inheriting from ItemsControl. Bottom: The same context menu inheriting from ContextMenu"></p>
  
  <p>Edit 2: I tried overriding the default style as below:</p>
  
  <pre><code>&lt;ContextMenu.Style&gt;
    &lt;Style TargetType="ContextMenu"&gt;
      &lt;Setter Property="OverridesDefaultStyle" Value="true" /&gt;
      &lt;Setter Property="Template"&gt;
        &lt;Setter.Value&gt;
          &lt;ControlTemplate TargetType="ContextMenu"&gt;
            &lt;Canvas IsItemsHost="true" Height="100" Width="100" /&gt;
          &lt;/ControlTemplate&gt;
        &lt;/Setter.Value&gt;
      &lt;/Setter&gt;
    &lt;/Style&gt;
  &lt;/ContextMenu.Style&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/Eg4T7.png" alt="The context menu when overriding the default style."></p>