property MaskEdit.ForeColorRich as Color
Retrieves or sets a color that is used to paint the mask value, while the Type is RichEdit and the value is not valid.

TypeDescription
Color A color expression that indicates the color used by control to paint the mask value, while it is not valid.

The ForeColorRich property has effect only if the control's Type is RichEdit Use the ForeColor property to change the control's foreground color. You can use the ForeColorRich property to specify the foreground color for editable entities while the field is not validated/completed. The BackColorReadOnly property specifies the control's background color when the field is locked ( ReadOnly property is True ). The ForeColorReadOnly property specifies the control's foreground color when the field is locked ( ReadOnly property is True ).