TextAlignment doesn't work with GridViewExpressionColumn

2 posts, 0 answers
  1. Heiko Görig
    Heiko Görig avatar
    23 posts
    Member since:
    Jun 2012

    Posted 17 Jan 2011 Link to this post


    Found another bug:
    The TextAlignment-Property of GridViewExpressionColumns doesn't get respected. Instead the cells are always left aligned.


  2. Vanya Pavlova
    Vanya Pavlova avatar
    2019 posts

    Posted 17 Jan 2011 Link to this post

    Hi Heiko Görig,

    Thank you for your feedback. We confirm that this is a bug in RadGridView's GridViewExpressionColumn and I have logged this case in our PITS System, you can track its progress following this link.
    As a kind of workaround I would suggest you to define your CellTemplate in this column and these properties will work as expected, please refer to the xaml below:

    <telerik:GridViewExpressionColumn Header="Total value in stock"   UniqueName="TotalValue" >
                     <TextBlock FontSize="16" Text="{Binding}" FontWeight="Bold" TextAlignment="Center"/>

    I have updated your Telerik points accordingly.

    Please excuse us for any inconvenience caused.

    Vanya Pavlova
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Back to Top