Skip to main content

TextEdit.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

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool MaskIgnoreBlank { get; set; }

Property Value

Type Description
Boolean

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

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