I think I have the same problem described in this question.
<ItemsControl ItemsSource="{Binding Buttons}">
...
<DataTemplate>
<RadioButton Style="{StaticResource {x:Type ToggleButton}}"/>
...
In this case the static resource is not resolved. I tried changing it to a DynamicResource as per the link above but this doesn't fix the problem. What can I do to access the StaticResource in a DataTemplate ?