title: WPF Adding menuitem to ContextMenu don't work when i use 'Task'
body: <p>I add items dynamicly to a <code>ContextMenu</code>,</p>
  <p>it works very good,</p>
  <p>Here is my code that works:</p>
  <pre><code>Dim Menu = MyContextMenu
  Dim items = getItems()
  For Each item in items
      Menu.Add(New MenuItem With{.Heder = item.Name}
  Next
  </code></pre>
  <p>but when i want to take my data by async Task, like this:</p>
  <pre><code>Dim items  = await Task.Run(GetItems).ContinueWith(Function(x)x.Result)
  </code></pre>
  <p>the items are ok, the code runs ok. but in the UI I actualy dont see the new added items</p>
  <p>What am I doing wrong?</p>