change GroupFooterRow Text Align

3 posts, 0 answers
  1. Mike
    Mike avatar
    79 posts
    Member since:
    Nov 2011

    Posted 14 Jan 2013 Link to this post

    Hello, 

    I'm looking for the way to change the Text Align & Foreground of cells of the GroupFooterRow (see attachment).

    Thanks for your help. 
  2. Yoan
    Admin
    Yoan avatar
    1214 posts

    Posted 14 Jan 2013 Link to this post

    Hi Radouan,

    In order to achieve your goal, you can define a style targeting the GridViewGroupFooterCell. Please check the following code snippet for a reference:

    <SolidColorBrush Color="Red" x:Name="FstBrush"/>       
    <Style  TargetType="telerik:GridViewGroupFooterCell">
        <Setter Property="Foreground" Value="{StaticResource FstBrush}"/>  
         <Setter Property="HorizontalContentAlignment" Value="Right"/>
    </Style>



    Regards,
    Yoan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. Mike
    Mike avatar
    79 posts
    Member since:
    Nov 2011

    Posted 15 Jan 2013 Link to this post

    It works :)

    Thanks
Back to Top