Corcav.Behaviors
Corcav.Behaviors copied to clipboard
Entry IsFocused
Is possible fire an Entry behaviou IsFocused?
The only default MVVM way I know of to communicate from the ViewModel to the View are data bound properties. One way to trigger actions like Entry.Focus()
is to use the MessagingCenter.Send()
in the ViewModel and MessagingCenter.Subscribe()
in the View's code behinde.
https://developer.xamarin.com/guides/xamarin-forms/messaging-center/