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

how can i change the header row style?

1 Answer 58 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Vincent
Top achievements
Rank 1
Iron
Vincent asked on 04 Aug 2014, 03:18 AM
I want to change the Header row's heigh and background color base on the windows8 theme. pls help me.

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 04 Aug 2014, 07:12 AM
Hello Vincent,


Thank you for contacting us.

You may easily define an implicit style targeted at GridViewHeaderRow against Windows8 theme and define Background and Height properties, as proposed below:

<Style TargetType="telerik:GridViewHeaderRow" BasedOn="{StaticResource GridViewHeaderRowStyle}">
      <Setter Property="Background" Value="Red"/>
      <Setter Property="Height" Value="35"/>
</Style>

You could also check our online documentation, here. 


Regards,
Vanya Pavlova
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
GridView
Asked by
Vincent
Top achievements
Rank 1
Iron
Answers by
Vanya Pavlova
Telerik team
Share this question
or