Setfocus to a texkbox and select it #4450
Unanswered
dwphilippe
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Sounds like a View concern to me. If you have validation in your ViewModel, I would suggest that you fire a MvxInteraction and in the View part of the code handle the focus and selection of the validated field. Read more about MvxInteraction here: https://www.mvvmcross.com/documentation/advanced/mvxinteraction |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm trying to make my first mvvm-project and want to do it with mvvmcross 8.0.2.
I do not find anywhere how I can set the focus on the textbox that have an invalid value. I also want to select the hole/part of the value.
My user-interface is WPF (.net Core 3.1)
Can you help me with this?
Thanks a lot,
Philippe
Beta Was this translation helpful? Give feedback.
All reactions