AcceptsTab Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. 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. This is a dependency property.
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 configured value is checked before the workflow continues.
textControl.AcceptsTab = true;
if (textControl.AcceptsTab)
{
Console.WriteLine("Text Control: Accepts Tab is enabled.");
}textControl.AcceptsTab = True
If textControl.AcceptsTab Then
Console.WriteLine("Text Control: Accepts Tab is enabled.")
End If