Hello,
in the RibbonView_style.xaml source file, starting at line 5, there are the following trigger is defined:
<
MultiDataTrigger
>
<
MultiDataTrigger.Conditions
>
<
Condition
Binding
=
"{Binding RelativeSource={RelativeSource AncestorType=telerikRibbonView:RadRibbonWindow}, Path=IsWindowsThemeEnabled}"
Value
=
"True"
/>
<
Condition
Binding
=
"{Binding RelativeSource={RelativeSource AncestorType=telerikRibbonView:RadRibbonWindow}, Path=IsTitleVisible}"
Value
=
"False"
/>
</
MultiDataTrigger.Conditions
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
</
MultiDataTrigger
>
If the RibbonView control is not inside a RadRibbonWindow, running the application in debug mode generates a binding error in the output window.
Worse, if the RadRibbonWindow is inside a window that inherits from RadRibbonWindow, it is also not found.
Conclusion: you had better setting this trigger by code, traversings the UI tree to look for the right control...