Closed maurosampietro closed 8 years ago
I still consider this a bug in WPF, but I found a workaround.
The reason why this issue occurs is because WPF does not find the ancestor of type Fluent:Backstage anymore. The funny/sad thing is with this code:
<Condition Binding="{Binding IsOpen, RelativeSource={RelativeSource AncestorType={x:Type Fluent:Backstage}}}" Value="True" />
<Condition Binding="{Binding IsOpenAnimationEnabled, RelativeSource={RelativeSource AncestorType={x:Type Fluent:Backstage}}}" Value="True" />
Guess what happens here... The first condition throws no binding error. The second one does, because the ancestor could not be found.
Themes are not applied correctly if you change it from the backstage. In particular if you use non Fluent controls that don't close the backstage/ribbon when clicked. The problem do not show up with Office 2013 style.
In the showcase if you add this tabItems you can test what i say: