windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemmemoedit-2016106f.md
Gets or sets a value specifying whether a user can insert tab characters into text.
Namespace : DevExpress.XtraEditors.Repository
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(false)]
[DXCategory("Behavior")]
public bool AcceptsTab { get; set; }
<DXCategory("Behavior")>
<DefaultValue(False)>
Public Property AcceptsTab As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true if users can enter tabs in a memo editor using the TAB key; false if pressing the TAB key moves focus to another control.
|
Use the AcceptsTab property to control the ability of a user to insert tab characters into memo editor text.
When this property is false (the default behavior), pressing the TAB key within a memo editor moves focus to the next control (according to the tab order). It is possible, however, to insert tab characters into the memo editor’s text via code by adding/inserting the “\t” string (C#) to the BaseEdit.Text property.
Set the AcceptsTab property to true to allow users to enter TAB characters( to align the memo editor’s text). If this property is true , users can tab into the memo edit control, but cannot tab out.
Assigning a new value to AcceptsTab at runtime raises the RepositoryItem.PropertiesChanged event.
See Also