Hiding Prompt Characters

8 Mar 2018 / 1 minute to read

When the HidePromptOnLeave property is set to true, prompt characters are ignored when control loses focus. Again, the prompt characters are restored when the control is focused.

SfMaskedEdit maskedEdit = new SfMaskedEdit(this);
maskedEdit.MaskType = MaskType.Text;
maskedEdit.Mask = "00/00/0000";
maskedEdit.HidePromptOnLeave = true;

This demo can be downloaded from this link.