This is a migrated thread and some comments may be shown as answers.

[Solved] change GroupFooterRow Text Align

2 Answers 73 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mike
Top achievements
Rank 1
Mike asked on 14 Jan 2013, 12:20 PM
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 Answers, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 14 Jan 2013, 01:52 PM
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.

0
Mike
Top achievements
Rank 1
answered on 15 Jan 2013, 12:49 PM
It works :)

Thanks
Tags
GridView
Asked by
Mike
Top achievements
Rank 1
Answers by
Yoan
Telerik team
Mike
Top achievements
Rank 1
Share this question
or