Customizing RibbonTabControlToggleButtonStyle

Jun 20, 2012 at 2:00 AM

I got this error: The Type reference cannot find a public type named 'RibbonTabControlToggleButtonStyle'. Is there a way to customize the toggle button for minimizing ribbon? I want to use my own icon for it.

Developer
Jul 3, 2012 at 10:51 AM

You just have to define a new Style after the Ribbon-Styles have been loaded:

 

<Style x:Key="RibbonTabControlToggleButtonStyle" 
       TargetType="{x:Type Fluent:ToggleButton}">

</Style>