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

Expander background color

1 Answer 95 Views
Expander
This is a migrated thread and some comments may be shown as answers.
Iwan van Ee
Top achievements
Rank 1
Iwan van Ee asked on 07 Oct 2010, 09:50 AM
I'm really strugling with this. I'm not one of the best template styler and can't get this done.
I have donwloaded all the Styling examples, but they have lot's of styles changed including the default button etc.

I just wanted the background color of the header to be a solid color...that's all. Where can I set that? I have added a border element into the header of the Expander, but then I just have the right part of the expander that color and the color of the part where the button is is still transparent.

Any suggestions, for this simple thing?

1 Answer, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 08 Oct 2010, 02:40 PM
Hello Iwan van Ee,

 Unfortunately there is no straightforward way to set the Header background. The easiest way to do it is with Blend by editing the default HeaderControlTemplate.
Could you please examine the attached project and there on row 96 of the MainPage.xaml file you'll find the Grid that represents the Header. If you have any further questions feel free to ask.  

Greetings,
Zarko
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
Tags
Expander
Asked by
Iwan van Ee
Top achievements
Rank 1
Answers by
Zarko
Telerik team
Share this question
or