WPF textblock binding in XAML

前端 未结 5 2067
萌比男神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条回答
  •  青春惊慌失措
    2021-01-22 22:42

    You can do a same as you do for PropertyA like follows,

    OnPropertyChanged(new PropertyChangedEventArgs("ObjectA"));
    

    on Designer XAML,

    
    

提交回复
热议问题