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

Change color of RadGridView

2 Answers 58 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Rubens
Top achievements
Rank 1
Rubens asked on 14 May 2014, 09:39 PM
How to change the main color of RadGridView
from black to red

graciously
André

2 Answers, 1 is accepted

Sort by
0
Rubens
Top achievements
Rank 1
answered on 14 May 2014, 09:42 PM
from black to red
0
Boris
Telerik team
answered on 15 May 2014, 02:23 PM

Hello Rubens,

The easiest way to change the color of all the components of the GridView is to use NoXaml binaries with the Themes.Implicit themes. For more information you can check these resources:
- Editing Control Templates.
- Setting a Theme (Using Implicit Styles).
- Styles and Templates GridView section.
- The Theming demo for WPF / Silverlight.

To make this a little clearer I attached a sample project demonstrating how you can change the color of the GridView header. In the example I change only the GridView_HeaderBackGround and GridView_HeaderRowBackGround brushes. Which are located in the Telerik.Windows.Controls.GridView.xaml file in the Themes folder. Please keep in mind that if  you need to change the color of other parts of the GridView you will need to check the Styles and Templates GridView section mentioned above.

I hope this helps.

Regards,

Boris Penev
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
Rubens
Top achievements
Rank 1
Answers by
Rubens
Top achievements
Rank 1
Boris
Telerik team
Share this question
or