Corcav.Behaviors icon indicating copy to clipboard operation
Corcav.Behaviors copied to clipboard

Entry IsFocused

Open rubgithub opened this issue 9 years ago • 1 comments

Is possible fire an Entry behaviou IsFocused?

rubgithub avatar Aug 21 '15 21:08 rubgithub

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/

rupe120 avatar Feb 10 '16 15:02 rupe120