views:

25

answers:

0

Hi,

I have a WPF UserControl that i am using in a Windows Form using ElementHost. I am passing data from my Winform to my UserControl using a ListCollectionView. In my UserControl i have a method setdataSource where i am setting the datasource. But i keep getting this message in the output window when i debug my program

"System.Windows.Data Error: 39 : BindingExpression path error: '' property not found on 'object' ''ListCollectionView' (HashCode=17059405)'. BindingExpression:Path=; DataItem='ListCollectionView' (HashCode=17059405); target element is 'TextBlock' (Name=''); target property is 'Text' (type 'String')"

How do i resolve this error ?