views:

121

answers:

1

There was a problem. When I change the background color of WPF toolbar Overflow Button in the right corner does not change color. How to fix it?

Example: alt text

+2  A: 

The overflow button unfortunately has a fixed background. More precisely, it is set to a static value in the default template. See this MSDN forum thread or MSDN if you want to get a copy of them. Or This tool from Chris Sells

In the template, you'll see a ToggleButton, that is used to show/hide the overflow panel. This is the one to change to have the effect that you are looking for.

So, the answer to your question is that you need to include the full style of the toolbar in your XAML and change the background of the button to be the same as the rest of the toolbar.

Timores
Thanks for the answer!
antongladchenko