Skip to main content

RepositoryItemMemoExEdit.AcceptsTab Property

Gets or sets a value specifying whether a user can insert tab characters into the editor’s text.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(true)]
[DXCategory("Behavior")]
public bool AcceptsTab { get; set; }

Property Value

Type Default Description
Boolean true

true if tab characters typed within the dropdown window are accepted and processed by an extended memo editor; otherwise, false.

Remarks

Use the AcceptsTab property to control the user’s ability to insert tab characters into extended memo editor text.

When this property is true (the default behavior), the TAB key is processed by the editor and thus enables end-users to align the editor’s text.

If the AcceptsTab property is set to false, pressing the TAB key in the open dropdown window has no effect. It is possible, however, to insert tab characters to the memo editor’s text via code by adding appropriate characters (e.g. “\t” for C#) to the BaseEdit.Text property.

When the editor’s dropdown window is not activated, pressing the TAB key in the focused extended memo edit control always moves focus to the next control in the tab order regardless of the AcceptsTab property setting.

Assigning a new value for the AcceptsTab property at runtime raises the RepositoryItem.PropertiesChanged event.

See Also