3
Answers

How to stop moving tab from text boxes and other controls

Rafnas T P

Rafnas T P

8y
282
1
Can anyone know how to stop moving tab from text boxes and other controls using C# code
Answers (3)
0
Rafnas T P

Rafnas T P

NA 12.2k 435.6k 8y
I don't want all time tab index disabled
0
Suthish Nair

Suthish Nair

NA 31.7k 4.6m 8y
set tabindex = -1 to all control..
0
Tapan Patel

Tapan Patel

NA 8.1k 100.9k 8y
Here is how. You can define IsTabStop property to false for the other controls and it should work for you.
  1. <Buttonx:Name="button"Content="Button"HorizontalAlignment="Left"Margin="242,107,0,0"VerticalAlignment="Top"Width="75"TabIndex="1000000"IsTabStop="False"/>
  2. <TextBoxx:Name="textBox"HorizontalAlignment="Left"Height="23"Margin="204,67,0,0"TextWrapping="Wrap"Text="TextBox"VerticalAlignment="Top"Width="120"TabIndex="0"/>