Skip to main content
All docs
V23.2

TextEditAdvancedModeOptions.AutoCompleteMode Property

Gets or sets text auto-completion mode. This property is in effect if the RepositoryItemTextEdit.UseAdvancedMode option is enabled.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(TextEditAutoCompleteMode.None)]
[DXCategory("Behavior")]
public TextEditAutoCompleteMode AutoCompleteMode { get; set; }

Property Value

Type Default Description
TextEditAutoCompleteMode None

The text completion behavior of the TextEdit.

Available values:

Name Description
None

Text auto-completion is disabled.

Suggest

The editor displays a drop-down list with suggestions when a user types the first word in the edit box.

Append

The editor automatically completes the first entered word in the edit box. The editor uses the first matching suggestion from a source of suggestions.

SuggestAppend

The editor uses a combination of the Append and Suggest options — it automatically completes the first word in the edit box, and displays a drop-down list with suggestions.

SuggestSingleWord

The editor displays a drop-down list with custom suggestions every time a user types a new word in the edit box. The editor automatically sets the AutoCompleteSource option to CustomSource in SuggestSingleWord mode. Use the CustomizeAutoCompleteSource event, or AutoCompleteCustomSource collection to specify the custom auto-complete suggestions.

Property Paths

You can access this nested property as listed below:

Object Type Path to AutoCompleteMode
RepositoryItemTextEdit
.AdvancedModeOptions .AutoCompleteMode

Remarks

The AutoCompleteMode property allows you to specify text auto-completion mode.

Use the AutoCompleteSource property to specify the source of text suggestions for auto-complete mode.

See the following topic for more information: Text Auto-Completion.

See Also