property MaskEdit.Type as TypeEnum
Retrieves or sets a value that determines the based window used by control.

TypeDescription
TypeEnum A TypeEnum expression that indicates the based window type used.

By default, the Type property is Edit. Use the Type = RichEdit to allow coloring when the masked value is not valid. Use Valid property to check if the masked value is valid or invalid