AcceptsTab Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets or sets a value indicating whether pressing the TAB key types a TAB character in the control instead of moving the focus to the next control in the tab order.
Syntax
public bool AcceptsTab { get; set; }Public Property AcceptsTab As BooleanExamples
The following example uses TextControl.AcceptsTab to allow users to insert tab characters while editing. The change is then applied to the active document or user interface.
textControl.AcceptsTab = true;
textControl.Update();textControl.AcceptsTab = True
textControl.Update()