Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entry IsFocused #3

Open
rubgithub opened this issue Aug 21, 2015 · 1 comment
Open

Entry IsFocused #3

rubgithub opened this issue Aug 21, 2015 · 1 comment

Comments

@rubgithub
Copy link

Is possible fire an Entry behaviou IsFocused?

@rupe120
Copy link

rupe120 commented Feb 10, 2016

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants