Bind from 2 ViewModels in one XAML element
问题 I am interested in trying to use information from two ViewModels in one element. Here is my sample. At the beginning of the page I got this <ContentPage.BindingContext> <vm: MainViewModel /> </ContentPage.BindingContext> ... at one point I have an element that I need values from 2 VMs. <TapGestureRecognizer Command="{Binding CommandValueFromAnotherViewModel}" CommandParameter="{Binding StringValueFromCurrentViewModel}"> // This <TapGestureRecognizer.BindingContext> <vm