Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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