Simple
System.Windows.Data Error: 17 : Cannot get 'Brush' value (type 'Brush') from 'Value' (type 'myClass1'). BindingExpression:Path=Value.Brush; DataItem='PropertyItem' (Name=''); target element is 'TextBlock' (Name=''); target property is 'Background' (type 'Brush') InvalidCastException:'System.InvalidCastException: Unable to cast object of type 'Simple.myClass1' to type 'System.Windows.DependencyObject'.
at MS.Internal.Data.PropertyPathWorker.GetValue(Object item, Int32 level)
at MS.Internal.Data.PropertyPathWorker.RawValue(Int32 k)'
System.Windows.Data Error: 17 : Cannot get 'Text' value (type 'String') from 'Value' (type 'myClass1'). BindingExpression:Path=Value.Text; DataItem='PropertyItem' (Name=''); target element is 'TextBlock' (Name=''); target property is 'Text' (type 'String') InvalidCastException:'System.InvalidCastException: Unable to cast object of type 'Simple.myClass1' to type 'System.Windows.DependencyObject'.
at MS.Internal.Data.PropertyPathWorker.GetValue(Object item, Int32 level)
at MS.Internal.Data.PropertyPathWorker.RawValue(Int32 k)'