![Avatar](https://secure.gravatar.com/avatar/f89e2d3fca6a6d041f2777ddef69e93e.jpg?s=64&d=identicon&r=g)
Hello,
I am populating a PopupButton with some RadioButton items from an ObservableCollection.
The list is loaded fine, but the RadioButtons are not shown as Button as they should when their Context is a MenuItem.
I must do something wrong for not getting the correct UI style.
Any hint to solve my problem?
Here's my data template:Thanks :)
I am populating a PopupButton with some RadioButton items from an ObservableCollection.
The list is loaded fine, but the RadioButtons are not shown as Button as they should when their Context is a MenuItem.
I must do something wrong for not getting the correct UI style.
Any hint to solve my problem?
Here's my data template:
<DataTemplate x:Key="myItemTemplate">
<ribbon:RadioButton Label="{Binding Name}"
Command="{x:Static commands:myCommands.myCommand}">
</ribbon:RadioButton>
</DataTemplate>
...
<ribbon:PopupButton>
<ribbon:Menu ItemTemplate="{StaticResource pageSizeItemTemplate}"/>
</ribbon:PopupButton>