title: Is it possible to add Menu Items to a context menu during implementation?
body: <p>I hope I asked the right question, but here's my situation. I have a <code>TreeViewItem</code> that I'm implementing. Inside it I set/add various properties, one of them being a <code>ContextMenu</code>. All I want to do is add <code>MenuItems</code> to the <code>ContextMenu</code> without passing to functions and such.</p>
  
  <p>Here's how I implement my <code>TreeViewItem</code> with <code>ContextMenu</code>:</p>
  
  <pre><code>public static TreeViewItem Item = new TreeViewItem() //Child Node
  {
          ContextMenu = new ContextMenu //CONTEXT MENU
          {
              Background = Brushes.White,
              BorderBrush = Brushes.Black,
              BorderThickness = new Thickness(1),
  
              //**I would like to add my MENUITEMS here if possible
          }
  };
  </code></pre>
  
  <p>Thanks a lot!</p>