ReactiveCommand CanExecute reacting to changes in a collection
问题 I have a ReactiveCollection filled with Items (that are ReactiveObjects as well). I want to create a ReactiveCommand that should be enabled only when any of the items in the collection has some property set to true, something like: MyCommand = ReactiveCommand.Create( watch items in collection to see if item.MyProp == true ) So anytime there is one of the items with the property set to true, the command should be enabled. EDIT: Thanks, Paul. The resulting code is this: public MainViewModel() {