I have a WPF DataGrid.
When a user press the tab key i dont want to get focus on 1st column and also 3rd column so when i reach a row i should be in the second column and when i press tab key again and reach 3 column it sholud move to 4th column.
How can i do this in WPF DataGrid
The TabStopIndex value is what indicates which field should receive focus next when the Tab key is pressed. Additionally, you can disable a control’s TabStop entirely by setting it through the KeyboardNavigation.IsTabStop attached property.
XAML: