windowsforms-devexpress-dot-xtraeditors-dot-texteditadvancedmodeoptions-3e2af414.md
Gets or sets text autocompletion mode. This property is in effect if the RepositoryItemTextEdit.UseAdvancedMode option is enabled.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(TextEditAutoCompleteMode.None)]
[DXCategory("Behavior")]
public virtual TextEditAutoCompleteMode AutoCompleteMode { get; set; }
<DXCategory("Behavior")>
<DefaultValue(TextEditAutoCompleteMode.None)>
Public Overridable Property AutoCompleteMode As TextEditAutoCompleteMode
| 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.
|
You can access this nested property as listed below:
| Object Type | Path to AutoCompleteMode |
|---|---|
| RepositoryItemTextEdit |
.AdvancedModeOptions .AutoCompleteMode
|
The AutoCompleteMode property allows you to specify text autocompletion mode.
Use the AutoCompleteSource property to specify the source of text suggestions for autocomplete mode.
See the following topic for more information: Text Autocompletion.
See Also
TextEditAdvancedModeOptions Class