我试图第一次使用WhenAnyObservable.
当ReactiveList Count == 0且tipText长度> 0时,我想在订阅中将本地值设置为true,或者相反.
this.ViewModel.WhenAnyObservable( x => x.AutoCompleteItems.CountChanged, x => x.ObservableForProperty(y => y.TipText), (countChanged, tipText) => countChanged == 0 && tipText.Length > 0);
我无法让这个工作.
有什么技巧我应该做,或者我应该使用其他WhenAny命令之一?