I have a little problem right now and I don\'t know how to fix it. I want to add two resources to a window. One is a XAML File style resource, the other a ValueConverter Class.<
<Window.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="Resources\MyStyles.xaml" /> </ResourceDictionary.MergedDictionaries> <local:MarginConverter x:Key="adjustMargin"/> </ResourceDictionary> </Window.Resources>