0

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?

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
  • 2
    It'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 Answers1

1

Try to change your controls' TabIndex.

Nikolai Arsenov
  • 464
  • 2
  • 10