--- title: "How to: Enable Tab Characters in a TextBox Control" ms.date: "03/30/2017" helpviewer_keywords: - "TextBox control [WPF], enabling tab characters" - "tab characters [WPF], enabling" ms.assetid: 14b1b064-61f7-4958-be63-88d85b868d03 --- # 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 control. ## Example To enable the acceptance of tab characters as input in a control, set the attribute to **true**. [!code-xaml[TextBox_EnablingTab#_AcceptsTab](~/samples/snippets/csharp/VS_Snippets_Wpf/TextBox_EnablingTab/CS/Window1.xaml#_acceptstab)] ## See also - [TextBox Overview](textbox-overview.md) - [RichTextBox Overview](richtextbox-overview.md)