Cannot determine the item type of dictionary type '{0}' because it has more than one Add method or IDictionary implementation. ...

Cannot determine the item type of dictionary type '{0}' because it has more than one Add method or IDictionary implementation. To make this dictionary type usable in XAML, add a public Add(object,object) method, implement System.Collections.IDictionary or a single System.Collections.Generic.IDictionary.