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.
Example
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>
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET Desktop feedback