Export (0) Print
Expand All

TextBoxBase.AcceptsTab Property

Gets or sets a value that indicates how the text editing control responds when the user presses the TAB key.

Namespace:  System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

Public Property AcceptsTab As Boolean
<object AcceptsTab="bool" .../>

Property Value

Type: System.Boolean
true if pressing the TAB key inserts a tab character at the current cursor position; false if pressing the TAB key moves the focus to the next control that is marked as a tab stop and does not insert a tab character.
The default value is false.

Identifier field


Metadata properties set to true


The TAB key corresponds to VK_TAB virtual-key code.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft