I created a custom column that derives from GridViewBoundColumnBase. The column defines the dependency property SearchType.
I would like to bind this property to the field "ArticleType" while the DataMemberBinding binds to "Article".
The binding produces the following runtime error:
System.Windows.Data Error: 40 : BindingExpression path error: 'ArticleType' property not found on 'object' ''OrderItem' (HashCode=19537849)'. BindingExpression:Path=ArticleType; DataItem='OrderItem' (HashCode=19537849); target element is 'GridViewSearchColumn' (HashCode=4419325); target property is 'SearchType' (type 'SearchTypes')
Can you please help me out?
Thanks for your support!