How to: Enable Tab Characters in a TextBox Control

This example shows how to enable the acceptance of tab characters as normal input in a TextBox control.

To enable the acceptance of tab characters as input in a TextBox control, set the AcceptsTab attribute to 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>


Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft