I have some of TextBox
in my application. Now that I copied most of it, it's in a strange order when filling in data and pressing the TAB
key. How can I adjust this order?
Asked
Active
Viewed 72 times
0

John
- 197
- 1
- 2
- 22
-
I tried looking through the element's properties but found nothing I could make use of. – John Aug 23 '16 at 16:20
-
thanks for downvoting – John Aug 23 '16 at 16:34
-
that really helped me a lot – John Aug 23 '16 at 16:35
-
2It's called the [`TabIndex`](https://msdn.microsoft.com/en-us/library/system.windows.controls.control.tabindex(v=vs.110).aspx) – Scott Aug 23 '16 at 16:49
-
See also e.g. https://stackoverflow.com/questions/359758/setting-tab-order-in-wpf and https://stackoverflow.com/questions/5556343/wpf-tab-order-working-wrong. Tab order in WPF is somewhat more complicated than in Winforms, but you have more control over the specifics as well. See these related posts and others for lots of details. – Peter Duniho Aug 23 '16 at 21:07
1 Answers
1
Try to change your controls' TabIndex.

Nikolai Arsenov
- 464
- 2
- 10
-
1That link is for WinForm's TabIndex, not for WPFs - see my comment for the WPF link. – Scott Aug 23 '16 at 16:55
-
1Sorry, didnt see your comment. The property name is the same. Here we just give tips how to solve it. – Nikolai Arsenov Aug 23 '16 at 17:00