I am trying to use WhenAnyObservable for the first time.
When the number is ReactiveList Count == 0 and the length of tipText is> 0, I want to set the local value to true in the subscription, or vice versa.
this.ViewModel.WhenAnyObservable( x => x.AutoCompleteItems.CountChanged, x => x.ObservableForProperty(y => y.TipText), (countChanged, tipText) => countChanged == 0 && tipText.Length > 0);
I have problems with work.
Is there any trick I have to do, or should I use one of the other WhenAny commands?
Glenn watson
source share