Comments
1 comment
-
I know this post is super old, but can you provide any details on how you figured out which specific style was causing the issue?
I'm having a similar issue, and all I see in the log file for SmartAssembly is that it's merging WPF resources before it hits this same error.
Any help you (or other users) can provide would be greatly appreciated. Thanks!
Add comment
Please sign in to leave a comment.
system.collections.generic.keynotfoundexception
on investigating i found that following style is causing the problem.
<ItemContainerTemplate x:Key="{ItemContainerTemplateKey DataType={x:Type Model:RibbonGalleryModel}}">
<Ribbon:RibbonGallery ScrollViewer.VerticalScrollBarVisibility="{Binding VerticalScrollBarVisibility}" ColumnsStretchToFill="True" Style="{StaticResource ResourceKey=ribbonGalleryStyle}" PreviewCommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=HighlightedItem}" />
</ItemContainerTemplate>
Thanks
Deepak