Default Style Key overwrite

Jan 22, 2014 at 4:57 AM
I am working on the Albatross Shell Project and I need to make adjustments.

I want to modify the default behavior of the RibbonTabControl when the given space is too small. Instead of squeezing the text, I want to show the scroll bar early. I also want to add a drop down menu next to the right side of the scroll bar so that users can quickly navigate the tabs(just like visual studio editors).

I could get it to work by applying my changes and recompiling the Fluent dll, but I don't want to go that route. So I tried to overwrite the default style key "RibbonTabControlKey" for the RibbonTabControl. But for some reason, the changes don't apply.

I thought this should work: What am I doing wrong? What can I do to overwrite the RibbonTabControl style? Thanks!
<Fluent:Ribbon x:Name="RibbonControl" DockPanel.Dock="Top">
        <Style x:Key="RibbonTabControlStyle" TargetType="{x:Type Fluent:RibbonTabControl}">
Jan 22, 2014 at 5:36 AM
It seems that the technique above only works if the resources is used as a DynamicResource. So my question remains: How can I overwrite the RibbonTabControlStyle?

Jan 24, 2014 at 2:27 AM
Never mind. I made it work by overwriting the control template of Ribbon.
Marked as answer by batzen on 6/28/2014 at 2:09 AM