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

How can I define my style structure efficient?

1 Answer 83 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Aihua
Top achievements
Rank 1
Aihua asked on 02 Feb 2013, 02:48 AM
   I define my customize style on controls, how can I know which property is useful? For example, i want to change GridViewHeader color from default(office black) to LightBlue, I refer demo code used GridViewHeaderRow property, but it can't implement I want.Then, I test some header property, finally I use GridViewHeaderCell and set it background to change header color successfully.
  This way is inefficient! I have two questions:
  1. Do you have any way to get correct property when I want to define corresponding style of control.Do you have detail information document, could you send me?
  2. I learn WPF Controls Example,  there are some themes on GridView. I want to refer it to define my style structure,Do you have any advice? I use WPFInspector to attach application to find visual tree and property value, but the WPFInspector is not directly.Do you know or you are using which tool to view control styling or layout?

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 04 Feb 2013, 07:24 AM
Hello Aihua,

I would recommend you to run through our documentation considering the styling mechanism of all RadControl, how to work with the themes and modify them if necessary. Furthermore, you can get a look at the documentation dedicated to RadGridView for more information on how to edit its styles and templates. 

Regards,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Aihua
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or