c# - How to disable focus on textbox on load in a view in WinRT? -


WinRT has a text box that has Focus (Pointer Focus) on Load in a View in WinRT.

I want to disable it and want to load the focus in focus. When I'm in the constructure of the scene, the text box is unforced , but when I load the event, the text box is found, I do not know why, automatically Pointer .

No instructions have been given to focus on this control. I do not understand why he got the focus.

I try to change the tabindex, not the success, the control has got the focus again. When I try to focus on focus manually, I have an exception: " Value does not come within the expected range." "I do not understand why this is the exception.

Thanks for the reply.

Solution 1: You can set the textbox tabstop property to false.

Solution 2: Tabx and value of the taxbox value (Set the tab control to other commands in the command, which You want to get focus on startup).

Comments