This question is locked. New answers and comments are not allowed.
Hi Telerik Team,
I want to change the Background color of Grid Headers.
By Default its black and i want to change it to green.
Please find attached image.
How can i achieve this.
Thanks,
Naren.
I want to change the Background color of Grid Headers.
By Default its black and i want to change it to green.
Please find attached image.
How can i achieve this.
Thanks,
Naren.
3 Answers, 1 is accepted
0
Naren
Top achievements
Rank 1
answered on 12 Nov 2010, 07:30 AM
Hi,
I got solution for this...
We just need to set following style in <UserControl.Resources>
Thats it,the header color will get changed.......
---------------------------------------------------------------------------------------------------
Can you help me for
Please reply for my post(Query) on following link
http://www.telerik.com/community/forums/silverlight/docking/docking-control-customization.aspx
Thanks ,
Naren.
I got solution for this...
We just need to set following style in <UserControl.Resources>
<Style TargetType="telerik:GridViewHeaderCell"> <Setter Property="Background" Value="Green" /> </Style>Thats it,the header color will get changed.......
---------------------------------------------------------------------------------------------------
Can you help me for
Docking control Customization
Please reply for my post(Query) on following link
http://www.telerik.com/community/forums/silverlight/docking/docking-control-customization.aspx
Thanks ,
Naren.
0
Hi Naren,
You can change the Background property of both GridViewHeadeCell through defining a very simple style and set its background property to the brush you want to use. You can do the same for GridViewHeaderRow.
If the final result does not satisfy your requirements, you should edit the template of GridViewHeaderCell or respectively the template of GridViewHeaderRow in the way you need. You can read more about this here.
Also I have prepared an example for you that demonstrates this approach.
Greetings,
Vanya Pavlova
the Telerik team
You can change the Background property of both GridViewHeadeCell through defining a very simple style and set its background property to the brush you want to use. You can do the same for GridViewHeaderRow.
If the final result does not satisfy your requirements, you should edit the template of GridViewHeaderCell or respectively the template of GridViewHeaderRow in the way you need. You can read more about this here.
Also I have prepared an example for you that demonstrates this approach.
Greetings,
Vanya Pavlova
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Hi Naren,
If you wish to customize RadDocking control, I think the information in this article is a good place to start.
If you encounter any difficulties or have any specific questions regarding RadDocking customization, please open a separate support ticket / forum thread in the Docking section.
Best wishes,
Dani
the Telerik team
If you wish to customize RadDocking control, I think the information in this article is a good place to start.
If you encounter any difficulties or have any specific questions regarding RadDocking customization, please open a separate support ticket / forum thread in the Docking section.
Best wishes,
Dani
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items