Udostępnij za pomocą


Jak: Włączyć Znaki Tabulacji w Kontrolce TextBox

W tym przykładzie pokazano, jak włączyć akceptację znaków tabulacji jako normalne dane wejściowe w kontrolce TextBox .

Przykład

Aby włączyć akceptację znaków tabulacji jako dane wejściowe w kontrolce TextBox, ustaw atrybut AcceptsTab na wartość 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>

Zobacz także