TcxCustomMaskEditProperties.IgnoreMaskBlank Property
Determines the manner in which a mask editor reacts to an input validation error.
Declaration
property IgnoreMaskBlank: Boolean read; write; default False;
Property Value
Type | Default |
---|---|
Boolean | False |
Remarks
If the IgnoreMaskBlank property is set to False, a user cannot leave the mask editor until input is validated successfully. Validation always occurs when using standard masks. When working with regular expressions, validation occurs only if the entered text is incomplete. If validation fails, a user receives the following message box:
If the IgnoreMaskBlank property is set to True, a user can leave the mask editor only if the text is completely entered or is not entered at all. If a part of the required text is entered a user cannot leave the editor. This is applied for standard masks only. When working with regular expressions, a user can leave the editor at any moment without input validation.
The default value of the IgnoreMaskBlank property is False.