If you want to right-align the "Help" (or any other) menu entry in your menu bar in a WPF application, you can use the following example:
<Menu> <Menu.ItemsPanel> <ItemsPanelTemplate> <DockPanel HorizontalAlignment="Stretch"/> </ItemsPanelTemplate> </Menu.ItemsPanel> <MenuItem Header="File"> <MenuItem Header="Exit"/> </MenuItem> <MenuItem Header="Edit"> <MenuItem Header="Cut"/> </MenuItem> <MenuItem Header="Help" HorizontalAlignment="Right"> <MenuItem Header="About"/> </MenuItem> </Menu>
Code sample taken from here.
Post new comment