简体   繁体   中英

How to force a WPF binding to refresh in F#

我有一个指向视图模型的绑定,后来又用一个新的视图模型更新了视图模型,我又如何更新绑定呢?

Just found it , in case it helps somebody else :

this.RaisePropertyChanged("Property")

replace property with your member property.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM