Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 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

AutoCompleteType Enum

Lists values that specify the type of automatic completion mode used by an editor.

Namespace: DevExpress.XtraEditors.Mask

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public enum AutoCompleteType

#Members

Name Description
Default

When set to Default, the AutoCompleteType.Strong automatic completion mode is used.

None

The automatic completion feature is disabled.

Strong

Each time an end-user types a character the editor determines if the following placeholder can be filled automatically. If only a specific character can be inserted in this position the editor automatically displays this character and moves the caret to the right of this character.

Optimistic

When an end-user enters a character in an empty edit box for the first time, the editor automatically fills all the following placeholders with the default values. For placeholders that accept only numeric values, the ‘0’ character is the default. For placeholders that accept alpha characters, the “a” character is the default.

#Related API Members

The following properties accept/return AutoCompleteType values:

#Remarks

The automatic completion feature can be used with the RegEx mask mode. When implemented, the editor will try to complete a value which has been partially entered by an end-user. Use the MaskProperties.AutoComplete property to choose the required automatic completion mode. Refer to the Input Mask document for more information.

See Also