title: How can I get WPF menus to align like the old win forms menu?
body: <p>I have a WPF app that I am working on. Everything is very simple at the moment as I've not implemented any of the "meat" yet. One of the things that is bothering some of the users with the prototype is that the menu drops down "backwards" from how it used to in win forms.</p>
  
  <p><a href="https://i.stack.imgur.com/7QSlO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7QSlO.png" alt="enter image description here"></a></p>
  
  <p>What I'm looking to have is the left edge of the menu box line up with the left edge of the word "File" in the parent menu. I've been doing some searching but I don't think I'm hitting the right keywords. I'm not sure if it makes any difference but I'm also using the MVVMLight library by Galasoft.</p>
  
  <p>My question is how do I get the left edge of the menu to line up with the left edge of the "File" text? Thanks ahead of time!</p>
  
  <pre><code>    &lt;Menu Grid.Row="0" Grid.Column="0"&gt;
          &lt;MenuItem Header="_File" &gt;
              &lt;MenuItem Header="EnableWatcher" IsCheckable="True" IsChecked="{Binding WatcherEnabled}" /&gt;
              &lt;Separator /&gt;
              &lt;MenuItem Header="_Exit" /&gt;
          &lt;/MenuItem&gt;
      &lt;/Menu&gt;
  </code></pre>
  
  <p>EDIT: Here is all of the code in the xaml file.</p>
  
  <pre><code>    &lt;Window x:Class="DonkeySuite.Watcher.MainWindow"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:ViewModel="clr-namespace:DonkeySuite.Watcher.ViewModel"
      Title="MainWindow" Height="350" Width="525" Icon="/DonkeySuite.Watcher;component/BlueFolder.ico"&gt;
  &lt;Window.DataContext&gt;
      &lt;ViewModel:MainViewModel /&gt;
  &lt;/Window.DataContext&gt;
  &lt;!--&lt;i:Interaction.Triggers&gt;
      &lt;i:EventTrigger EventName="Closing"&gt;
          &lt;Command:EventToCommand Command="{Binding SaveSettings}"/&gt;
      &lt;/i:EventTrigger&gt;
  &lt;/i:Interaction.Triggers&gt;--&gt;
  &lt;Grid&gt;
      &lt;Grid.RowDefinitions&gt;
          &lt;RowDefinition Height="30" /&gt;
          &lt;RowDefinition Height="30" /&gt;
          &lt;RowDefinition Height="*" /&gt;
      &lt;/Grid.RowDefinitions&gt;
      &lt;Grid.ColumnDefinitions&gt;
  
      &lt;/Grid.ColumnDefinitions&gt;
      &lt;Menu Grid.Row="0" Grid.Column="0"&gt;
          &lt;MenuItem Header="_File" &gt;
              &lt;MenuItem Header="EnableWatcher" IsCheckable="True" IsChecked="{Binding WatcherEnabled}" /&gt;
              &lt;Separator /&gt;
              &lt;MenuItem Header="_Exit" /&gt;
          &lt;/MenuItem&gt;
      &lt;/Menu&gt;
  
      &lt;Grid Grid.Column="0" Grid.Row="1"&gt;
          &lt;Grid.RowDefinitions&gt;
  
          &lt;/Grid.RowDefinitions&gt;
          &lt;Grid.ColumnDefinitions&gt;
              &lt;ColumnDefinition Width="60" /&gt;
              &lt;ColumnDefinition Width="*" /&gt;
              &lt;ColumnDefinition Width="100" /&gt;
          &lt;/Grid.ColumnDefinitions&gt;
          &lt;TextBlock Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center"&gt;Directory:&lt;/TextBlock&gt;
          &lt;TextBox Grid.Column="1" Text="{Binding WatchDirectory, Mode=TwoWay}" VerticalAlignment="Center"&gt;&lt;/TextBox&gt;
          &lt;Button Grid.Column="2" Content="Browse" Command="{Binding BrowseForDirectory}" Height="24" Margin="5, 0, 15, 0"&gt;
          &lt;/Button&gt;
      &lt;/Grid&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p></p>