Skip to main content
A newer version of this page is available. .

TextEditBase.AcceptsTab Property

Gets or sets whether an end-user can insert tabulation characters into a text. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core

Declaration

public bool AcceptsTab { get; set; }

Property Value

Type Description
Boolean

true to allow tabulation characters to be accepted and processed by the editor; otherwise, false.

Remarks

If the AcceptsTab property is set to true, the TAB key is processed by the editor, and results in a tabulation. Otherwise, if the AcceptsTab property is set to false, tabulation characters are ignored. However, these characters can be inserted in code by adding appropriate characters (for instance, “\t” for C#) to the TextEditBase.Text property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AcceptsTab property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also