Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

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

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