The workaround is to create a custom class which derives from RadMaskedTextInput and override the OnSelectionOnFocus() method.
protected override int OnSelectionOnFocus(SelectionOnFocus selectionOnFocus)
{
if (MaskedInputExtensions.GetCaretToEndOfTextOnFocus(this))
{
return this.Text != null ? this.Text.Length : 0;
}
if (selectionOnFocus == SelectionOnFocus.Default)
{
return 0;
}
return base.OnSelectionOnFocus(selectionOnFocus);
}
Then you can set the following properties to the mask:
- TextMode="PlainText"
- Placeholder=" "
- maskedInput:MaskedInputExtensions.CaretToEndOfTextOnFocus="True"