MaskProperties.AutoComplete Property
Gets or sets the automatic completion mode used by the editor in the RegEx mask mode.
Namespace: DevExpress.XtraEditors.Mask
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
AutoCompleteType | Default | An AutoCompleteType value specifying the automatic completion mode used by the editor in the RegEx mask mode. |
Available values:
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. |
Remarks
If the MaskProperties.MaskType property is set to MaskType.RegEx an editor’s mask uses full-functional regular expression syntax. In this mode the automatic completion feature is implemented. The editor will try to complete a value which has been partially entered by an end-user. The AutoComplete property specifies which of auto-completion modes is used for this purpose.