VS2013 Theme Merged Cell Alignment Possible Bug

2 posts, 0 answers
  1. Shaun
    Shaun avatar
    31 posts
    Member since:
    Jul 2011

    Posted 29 Jul 2016 Link to this post


    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}"
       <!-- 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.


    Shaun Criten



  2. Yoan
    Yoan avatar
    1214 posts

    Posted 01 Aug 2016 Link to this post

    Hi Shaun Criten,

    Thank you for reporting this.

    I have logged it in our feedback portal as a bug report. You can track its progress and subscribe to status changes on the following link - feedback item.

    I have also updated your Telerik points.

    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top