2
Vote

Unable to cast EventSetter Exception

description

I keep getting this error after starting the inspector and looking at a control we have in our project. It takes down both apps. It's making it impossible to use the tool. Unfortunately Snoop also seems to have this issue too...

Exception Message: Unable to cast object of type 'System.Windows.EventSetter' to type 'System.Windows.Setter'.

Exception Call Stack:
at ChristianMoser.WpfInspector.Services.StyleExplorer.StyleItem..ctor(Style style, FrameworkElement source, String name, String location, StyleScope scope)
at ChristianMoser.WpfInspector.UserInterface.Controls.PropertyItems.StylePropertyItem.LoadStyles()

comments