Problem with WPF Data Binding Defined in Code Not Updating UI Elements

前端 未结 6 761
天涯浪人
天涯浪人 2021-02-08 22:51

I need to define new UI Elements as well as data binding in code because they will be implemented after run-time. Here is a simplified version of what I am trying to do.

6条回答
  •  南笙
    南笙 (楼主)
    2021-02-08 23:30

    Are you sure you're updating the same object as you've used in the binding? At first glance nothing looks wrong, so check the simple things. :)

提交回复
热议问题