New to Telerik UI for .NET MAUI? Start a free 30-day trial
.NET MAUI MaskedEntry Prompt Character
Updated on Jun 25, 2026
The MaskedEntry exposes a PromptChar(char) property, which represents a symbol (char) for any mask position that the user has not filled in yet. The default PromptChar value is _ (underscore).
You can also control whether the prompt character is treated as a valid input character through the AllowPromptAsInput (bool) property.
- Setting the IPMaskedEntry
XAML
<telerik:RadIPMaskedEntry AutomationId="ipMask"/>
- Setting the TextMaskedEntry
XAML
<telerik:RadTextMaskedEntry Mask="LLLLL" AutomationId="textMaskTextOnly"/>
Customization
To change the default prompt character, set the PromptChar(char) property.
- IPMaskedEntry with
PromptChar="#"
XAML
<telerik:RadIPMaskedEntry PromptChar="#" AutomationId="ipMaskChangedPropmtChar"/>
- TextMaskedEntry with
PromptChar=" "
XAML
<telerik:RadTextMaskedEntry Mask="(000) 000-000" PromptChar=" " AutomationId="textMaskNumbersOnly"/>