Back to Devexpress

TextEdit.MaskIgnoreBlank Property

wpf-devexpress-dot-xpf-dot-editors-dot-textedit-01af7096.md

latest1.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

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

Property Value

TypeDescription
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

TextEdit Class

TextEdit Members

DevExpress.Xpf.Editors Namespace