Anvisningar: Aktivera tabbtecken i en textrutekontroll

Det här exemplet visar hur du aktiverar godkännande av tabbtecken som normala indata i en TextBox kontroll.

Exempel

Om du vill aktivera godkännande av tabbtecken som indata i en TextBox-kontroll anger du attributet AcceptsTab till sant.

<TextBox AcceptsTab="True">
  If the AcceptsTab element is "True", the TextBox control will accept tab characters as regular input when the TAB key is pressed.  
  If AcceptsTab is "False" (the default), pressing TAB moves the focus to the next focusable control. 
</TextBox>

Se även