Hello
See attached screenshots. In Metro theme horizontal alignment isn't respected.
The code for RadContextMenu:
<
telerik:RadContextMenu
cal:Action.TargetWithoutContext
=
"{Binding ElementName=Items, Path=DataContext}"
MinWidth
=
"230"
>
<
telerik:RadMenuItem
cal:Message.Attach
=
"ClosePage($datacontext)"
Visibility
=
"{Binding SupportClosing, Converter={StaticResource visibleIfTrue}}"
HorizontalContentAlignment
=
"Stretch"
>
<
telerik:RadMenuItem.Header
>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"*"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
</
Grid.ColumnDefinitions
>
<
TextBlock
Text
=
"Close tab"
/>
<
TextBlock
Text
=
"(Ctrl+F4)"
Foreground
=
"Gray"
Grid.Column
=
"1"
/>
</
Grid
>
</
telerik:RadMenuItem.Header
>
</
telerik:RadMenuItem
>
I'd appreciate any hints on how to make horizontal alignment to stretch the content in Metro theme. If possible, without involving Blend & complete restyling.
Thanks