此示例演示如何在控件中 TextBox 启用接受制表符作为普通输入。
示例:
若要允许接受制表符作为控件中的 TextBox 输入,请将 AcceptsTab 属性设置为 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>