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>