Compartilhar via


Como habilitar caracteres de tabulação em um controle TextBox

Este exemplo mostra como habilitar a aceitação de caracteres de guia como entrada normal em um TextBox controle.

Exemplo

Para habilitar a aceitação de caracteres de guia como entrada em um TextBox controle, defina o AcceptsTab atributo como true.

<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>

Consulte também