WPF textblock binding in XAML

前端 未结 5 2030
萌比男神i
萌比男神i 2021-01-22 21:40

I\'m updating some existing WPF code and my application has a number of textblocks defined like this:



        
5条回答
  •  猫巷女王i
    2021-01-22 22:35

    You can simply type this:

    
    

    You may want to implement INotifyPropertyChanged within your ObjectA class, as changing properties of the class will not be picked up by the PropertyChanged methods in your MyBusinessObject class.

提交回复
热议问题