# .NET MAUI MaskedEntry Prompt Character

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"/>
```

## See Also

* [Mask Types](https://www.telerik.com/maui-ui/documentation/controls/maskedentry/mask-types/overview)
* [Validation](https://www.telerik.com/maui-ui/documentation/controls/maskedentry/validation)
* [Setting Value](https://www.telerik.com/maui-ui/documentation/controls/maskedentry/value)
* [Null Values Support](https://www.telerik.com/maui-ui/documentation/controls/maskedentry/value#null-value-support})
* [Events](https://www.telerik.com/maui-ui/documentation/controls/maskedentry/events)
* [Globalization](https://www.telerik.com/maui-ui/documentation/controls/maskedentry/globalization)
