This question is locked. New answers and comments are not allowed.
I have a template for the RadPaneHeader that adds a button that should be right justified. In Office Blue it works fine, but in Metro, that button is left justified instead. This is the DataTemplate that works in Office Blue but not in Metro. Any assistance would be great:
<
DataTemplate
x:Key
=
"AddressHeaderTemplate"
>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"*"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
</
Grid.ColumnDefinitions
>
<
ContentPresenter
Grid.Column
=
"0"
Content
=
"{Binding}"
/>
<
telerik:RadButton
Grid.Column
=
"1"
x:FieldModifier
=
"private"
x:Name
=
"EditAddress"
IsBackgroundVisible
=
"False"
Activate
=
"EditAddress_OnActivate"
VerticalAlignment
=
"Top"
HorizontalAlignment
=
"Right"
>
<
StackPanel
>
<
Image
Source
=
"{Binding Path=CurrentTheme.Icons[Edit16], Source={StaticResource WorkspaceThemesManager}}"
/>
</
StackPanel
>
</
telerik:RadButton
>
</
Grid
>
</
DataTemplate
>