Virus
Virus

Reputation: 3425

I get this error when I am trying to bing an image in wpf

System.Windows.Data Error: 40 : BindingExpression path error: 'Icon' property not found on 'object' ''Detail' (HashCode=52423952)'. BindingExpression:Path=Icon; DataItem='Detail' (HashCode=52423952); target element is 'Image' (Name=''); target property is 'Source' (type 'ImageSource')

what does this error mean and what is that I am doing wrong?

Upvotes: 0

Views: 62

Answers (1)

Virus
Virus

Reputation: 3425

I was missing the Icon property in Detail object. Creating Icon property worked like magic !!

Upvotes: 0

Related Questions