Keyboard order on Xamarin
By adjusting the keyboard order, you can provide a great experience for users that control their device using a hardware keyboard.
Xamarin Forms supports changing the keyboard order through the TabIndex
property. The default value is 0. The lower the value, the higher the priority.
The IsTabStop
property can be used to exclude elements from tabbed navigation.
Read more about Keyboard Accessibility in Xamarin.Forms.
The code example below shows how exclude the label from receiving keyboard focus, and how to reach the save button before reaching the cancel button.
<Label Text="Appt" IsTabStop="True" />
<Button x:Name="cancelButton" TabIndex="20" />
<Button x:Name="saveButton" TabIndex="10"/>