title: how to add context menu in hosted usercontrol?
body: <p>I have a Winform usercontrol and need to use in wpf window.I have hosted the control in wpf window.The control itself does not have any context menu. How can I add context menu in that control from wpf window? WPF code as in <a href="https://msdn.microsoft.com/en-us/library/ms742875(v=vs.100).aspx" rel="nofollow">https://msdn.microsoft.com/en-us/library/ms742875(v=vs.100).aspx</a>  is as below.
  Namespaces:</p>
  
  <pre><code>      xmlns:gc="clr-namespace:MyUsercontrol;assembly=MyControl"
  </code></pre>
  
  <p>Control code:</p>
  
  <pre><code>&lt;WindowsFormsHost Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" Margin="5"&gt;
          &lt;gc:MyControl x:Name="c1"&gt;           
          &lt;/gc:MyControl&gt;           
      &lt;/WindowsFormsHost&gt;
  </code></pre>