title: Getting the control of a context menu
body: <p>I have a context menu that looks like this</p>
  
  <pre><code> A
   |--1
   |--2
   |--3
  </code></pre>
  
  <p>I need to access the object that the context menu is called from, after selecting 1 2 or 3</p>
  
  <p>meaning if this is a context menu of a textbox1 then I need to access that object, how do I do that?</p>
  
  <p>Forgot to mention, this is a WPF application. so Im using the System.Windows.Controls
  and the ContextMenu is created programmatically </p>