I have a TextBox (firstItem) and a Button (anotherItem) on my WpfWindow, indexed with e.g. 1 and 23 (for the sake of simplicity).
So when I click the Button (that has TabIndex="23"), I want, that it resets the curent TabIndex so that the TextBox is Focused. Is that even possible?
I tried:
- to disable and anable TabStop of Button (in ClickEvent) but no result.
could it help, if I use a function that is executed after the ClickEvent?