I've created a simple WPF app with a menubar in the first row of the main grid. I've added several menuitems to the grid:
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="20"/>
<RowDefinition Height="*"/>
<RowDefinition Height="20"/>
</Grid.RowDefinitions>
<Menu x:Name="MainMenuBar" Grid.Row="0" HorizontalContentAlignment="Left">
<MenuItem Header="_File" HorizontalContentAlignment="Left">
<MenuItem x:Name="NewProjectMenuItem"
Header="_New Project"
InputGestureText="Ctrl+N"
Click="NewProjectMenuItem_Click"
HorizontalAlignment="Left"/>
<MenuItem x:Name="OpenProjectMenuItem"
Header="_Open Project"
InputGestureText="Ctrl+O"
Click="OpenProjectMenuItem_Click"
HorizontalAlignment="Left"/>
<MenuItem x:Name="CloseProjectMenuItem"
Header="_Close Project"
Click="CloseProjectMenuItem_Click"
HorizontalAlignment="Left"/>
<Separator/>
<MenuItem x:Name="SaveProjectMenuItem"
Header="_Save Project"
InputGestureText="Ctrl+S"
Click="SaveProjectMenuItem_Click"
HorizontalAlignment="Left"/>
</MenuItem>
<MenuItem Header="_Edit" HorizontalContentAlignment="Left">
<MenuItem x:Name="ToggleIncludeInBuild"
Header="Toggle Include in _Build"
InputGestureText="Shift+F1"
Click="ToggleIncludeInBuild_Click"
HorizontalAlignment="Left"/>
</MenuItem>
</Menu>
<Grid x:Name="ContenGrid" Grid.Row="1"></Grid>
<StatusBar x:Name="StatusBar" Grid.Row="2"></StatusBar>
</Grid>
When I click on the File or Edit menu items, the child menu items do not line up with how drop down menus normally behave in a windows forms app. They are offset with the right edge of the child menu item aligned with the right edge of the parent menu.