WPF Error 40 BindingExpression path error: property not found on 'object'

后端 未结 9 677
一整个雨季
一整个雨季 2020-11-27 16:04

I\'m banging my head on my desk with this binding error.. I have checked several of the postings for the BindingExpression path error and cannot see anything t

9条回答
  •  清歌不尽
    2020-11-27 16:24

    This error may also occur when you were previously trying to bind inaccessible or non-existing Enumerable instance using XAML property

    When you correct the ItemsSource with the correct value XAML doesn't automatically reilitialize the collection of items.

    So when I was using the ListBox UI - list representation I faced this in the properties:

    Deleting all the items in collection and correcting ItemSource value was the key.

提交回复
热议问题