Hi,
I have been unable to right align the contents of a merged cell in my RadGridView using the VS2013 dark theme.
With a little digging following the default cell template, it doesn't have the horizontal alignment bound.
I have therefor altered the control templates ContentControl as follows to fix the problem.
<
ContentControl
x:Name
=
"PART_ContentPresenter"
IsTabStop
=
"{TemplateBinding IsTabStop}"
Margin
=
"{TemplateBinding Padding}"
Foreground
=
"{TemplateBinding Foreground}"
Content
=
"{TemplateBinding Content}"
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
VerticalContentAlignment
=
"Stretch"
<!-- Added below-->
HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
<!-- Added above-->
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"/>
I am not sure whether this needs updating in the default theme Telerik.Windows.Controls.GridView.xaml but it would seem to make sense to me.
Regards,
Shaun Criten