Hello, I know it's a simple question. Before on windows phone 7.5, just put the code like this:
textBox.Focus();
How do I use it on windows phone 8.1? I'm waiting for an answer. Beforehand I want to thank the community.
Hello, I know it's a simple question. Before on windows phone 7.5, just put the code like this:
textBox.Focus();
How do I use it on windows phone 8.1? I'm waiting for an answer. Beforehand I want to thank the community.
Hello, I know it's a simple question. Before on windows phone 7.5, just put the code like this:
Focus(FocusState);
How do I use it on windows phone 8.1? I'm waiting for an answer. Beforehand I want to thank the community.
To focus on an object, use the Focus
property, as follows:
textBox.Focus(FocusState.Pointer);
Example:
In a TextBox named textBox
, to set the focus use:
Focus(FocusState);