
Using older 2011.1.545 build.
Have the following control in the ribbon:
<ribbon:Menu ItemsSource="{x:Static local:ApplicationConfig.Reports}">
<ribbon:Menu.ItemTemplate>
<DataTemplate>
<ribbon:Button Label="{Binding DisplayName}" />
</DataTemplate>
</ribbon:Menu.ItemTemplate>
</ribbon:Menu>
Items are getting inserted and displaying as buttons as expected, but the buttons and menu itself is not picking up the styles correctly. If I do:
<ribbon:Menu>
<ribbon:Button Label="Item #1" />
</ribbon:Menu>
Then the styles are correct. By incorrect styles, I mean, there is no light gray bar on the left of the menu, it is not sized properly (much smaller when databound), etc. Do I need to do anything else to pick up the correct styles? As a reminder, this is 2011.1 build :).
Thanks!