Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想对已更改的属性执行操作。
就像是RunActionOnPropertyChanged(this.Property, x => SomeAction);
RunActionOnPropertyChanged(this.Property, x => SomeAction);
MVVM Light 中有什么对此无能为力的吗?
我已经查看了消息,但这似乎有点过头了。
MVVM Light 没有任何原生功能可以做到这一点。
听起来您只想订阅 NotifyPropertyChanged 事件并在适当的属性引发更改时执行操作。