title: Vertical menu with popup on Right side instead of Below in WPF
body: <p>I am trying to get something like blend's toolbar as shown in image below:</p>
  
  <p><img src="https://i.stack.imgur.com/ogZE9.jpg" alt="enter image description here"></p>
  
  <p>I have got a vertical Menu as you can see in the image below :</p>
  
  <p><img src="https://i.stack.imgur.com/yzzqj.jpg" alt="enter image description here"></p>
  
  <p>I used the below XAML to get Vertical Menu :</p>
  
  <pre><code>&lt;Menu .........&gt;
  
      &lt;Menu.ItemsPanel&gt;
          &lt;ItemsPanelTemplate&gt;
              &lt;VirtualizingStackPanel Orientation="Vertical"/&gt;
          &lt;/ItemsPanelTemplate&gt;
      &lt;/Menu.ItemsPanel&gt;
  
      ....
      ....
      ....
  
  &lt;/Menu&gt;
  </code></pre>
  
  <p>Now when I click on any MenuItem the popup opens on the bottom side as shown in the image below:</p>
  
  <p><img src="https://i.stack.imgur.com/QkQEj.jpg" alt="enter image description here"></p>
  
  <p>But I want it to open on right hand side as shown in figure 1. How can I achieve that?</p>
  
  <p><strong>Update:</strong></p>
  
  <p>I got the popup on right hand side after using style and setter for template property. But the text is not properly positioned. I can see that there is no space for image on left side and seperator is visible over text. Have a look at image below:</p>
  
  <p><img src="https://i.stack.imgur.com/m1npy.jpg" alt="enter image description here"></p>