Having trouble getting help?
Contact Support
Contact Support
Default PromptChar in UWP Masked TextBox
18 Feb 20251 minute to read
Displays prompt character for the absence of your input in Mask and its default value is ‘_’.
Custom PromptChar
The following example shows how to customize the prompt character using PromptChar
property
<Input:SfMaskedEdit MaskType="Simple" Mask="00/00/0000" PromptChar="*" Width="255" Height="46"/>
SfMaskedEdit maskededit = new SfMaskedEdit();
maskededit.MaskType = MaskType.Simple;
maskedEdit.Mask = "00/00/0000";
maskedEdit.PromptChar = "*";