Помогите пожалуйста. Не могу центрировать по вертикали и горизонтали название "Свойства". (
<ControlTemplate x:Key="{x:Static MenuItem.SubmenuHeaderTemplateKey}" TargetType="{x:Type MenuItem}">
<Grid>
<Border Height="22" Width="159" Name="Head">
<ContentPresenter ContentSource="Header" RecognizesAccessKey="True" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0" Width="159"/>
</Border>
<Popup IsOpen="{TemplateBinding IsSubmenuOpen}" AllowsTransparency="True" PopupAnimation="Fade" Margin="0" Placement="Bottom" VerticalOffset="-22" HorizontalOffset="159" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
<StackPanel IsItemsHost="True" Background="#01FFFFFF" Focusable="True" VerticalAlignment="Stretch" Margin="0" OverridesDefaultStyle="False" IsManipulationEnabled="False" AutomationProperties.IsRequiredForForm="False" SnapsToDevicePixels="False"/>
</Popup>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="IsHighlighted" Value="true">
<Setter TargetName="Head" Property="Background" Value="#3500ACFF"/>
<Setter TargetName="Head" Property="BorderBrush" Value="#FF00ACFF"/>
<Setter TargetName="Head" Property="BorderThickness" Value="1,1,1,1"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
<MenuItem Style="{StaticResource MenuItem}" Header="Настройки">
<MenuItem Style="{StaticResource MenuItem}" Header="Свойства" HorizontalAlignment="Left" VerticalAlignment="Center">
<!--<RadioButton></RadioButton>-->
<MenuItem x:Name="FastDelProjectN" Style="{StaticResource MenuItem}" Header="Быстрое удаление проекта" Click="FastDelProject" Background="#00000000" Margin="0" Padding="0"/>
<MenuItem x:Name="FullDelProjectN" Style="{StaticResource MenuItem}" Header="Полное удаление проекта" Click="FullDelProject"/>
</MenuItem>
<MenuItem Style="{StaticResource MenuItem}" Header="О программе" HorizontalAlignment="Left" VerticalAlignment="Center"/>
<MenuItem Style="{StaticResource MenuItem}" Header="Выход" Click="Exit" HorizontalAlignment="Left" VerticalAlignment="Center" Width="159"/>
</MenuItem>