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

Unable to "completely" remove gradient from RadGridView's GridTableHeaderRowElement

1 Answer 174 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Abhay
Top achievements
Rank 1
Abhay asked on 27 Jan 2011, 11:31 PM
Hi.

I am using the Visual Style Builder to create the theme for RadGridView.

I am trying to change the RowFill for GridTableHeaderRowElement with a new Gradient type repository item. I don't want the background to be gradient colored and thus I chose the GradientStyle = Solid. This does paint the background with the color I chose but the table header columns still have gradient color (different from what I selected) left in them.

I have attached the snapshot of the VSB screen where I did the above.

As you can see, there is still a tint of gray at the bottom of the header columns that I am not able to remove.

Can someone help?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Accepted
Nikolay
Telerik team
answered on 28 Jan 2011, 11:42 AM
Hello Abhay,

You can find the answer to your question in the support ticket that you have opened for the same topic.

I will give the answer here as well in case there are others interested in the case:

The Gradient style that you get comes from the GridHeaderCellElement which is painted over the row. So, in order to get a Solid style, you should set the GradientStyle of the GridHeaderCellElement to Solid as shown on the screenshot.

Greetings,

Nikolay
the Telerik team

 

Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
Tags
Themes and Visual Style Builder
Asked by
Abhay
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or