TextEditSettings.MaskIgnoreBlank Property

Gets or sets whether the editor can lose focus when a value hasn't been entered, for the Simple, Regular and RegEx mask types. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

public bool MaskIgnoreBlank { get; set; }
Public Property MaskIgnoreBlank As Boolean

Property Value

Type Description
Boolean

true if the editor can lose focus when a value has not been entered; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to MaskIgnoreBlank
TokenEditorBehavior
.TokenEditSettings.MaskIgnoreBlank
TokenEditorBehavior
.NewTokenEditSettings.MaskIgnoreBlank

Remarks

If the MaskIgnoreBlank property is set to true, an empty editor can lose focus. If the editor's value is only partially completed (there are still empty placeholders), focus cannot be moved from the editor until an end-user enters the entire value or deletes the value by clearing the edit box.

If the MaskIgnoreBlank property is set to false, the focus cannot be moved from the editor until its value has been completely filled.

To learn more, see Mask Type: Simple.

See Also