Posted 16 years ago
by Chris Thompson
Version: 9.1.0505
Platform: .NET 3.5
Environment: Windows XP (64-bit)

When I try to set the theme using ThemeManager to Office2007Black I get this error. When I remove the reference to DataGrid.Contrib, no error is thrown.
{"'Office2007Common.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. 'PinGlyphs.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. Exception has been thrown by the target of an invocation. Error at object 'System.Windows.Markup.StaticExtension' in markup file 'ActiproSoftware.DataGrid.Contrib.Wpf351;v9.1.505.0;component/Themes/DataGrid/PinGlyphs.xaml'. Error at object 'System.Windows.ResourceDictionary' in markup file 'ActiproSoftware.DataGrid.Contrib.Wpf351;v9.1.505.0;component/Themes/DataGrid/Office2007Common.xaml'. Error at object 'System.Windows.ResourceDictionary' in markup file 'ActiproSoftware.DataGrid.Contrib.Wpf351;v9.1.505.0;component/Themes/DataGrid/Office2007Black.xaml'."}
{"'Office2007Common.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. 'PinGlyphs.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. Exception has been thrown by the target of an invocation. Error at object 'System.Windows.Markup.StaticExtension' in markup file 'ActiproSoftware.DataGrid.Contrib.Wpf351;v9.1.505.0;component/Themes/DataGrid/PinGlyphs.xaml'. Error at object 'System.Windows.ResourceDictionary' in markup file 'ActiproSoftware.DataGrid.Contrib.Wpf351;v9.1.505.0;component/Themes/DataGrid/Office2007Common.xaml'. Error at object 'System.Windows.ResourceDictionary' in markup file 'ActiproSoftware.DataGrid.Contrib.Wpf351;v9.1.505.0;component/Themes/DataGrid/Office2007Black.xaml'."}