Using the XamNumericEditor when i set explicitly the Mask in xaml as "{}{double:5.2}" the caret is placed as i want before the decimal separator.
If i set a property Mask in a view model and bind the value to Mask in xaml the caret is placed at the end of the text and i can't type numbers.
Here is the code of the second case:
<Editors:XamNumericEditor x:Name="Value"
Mask="{Binding Mask}"
PromptChar=" "
DataMode="IncludeBoth"
DisplayMode="IncludeLiterals"
IsAlwaysInEditMode="True"
Text="{Binding Value, UpdateSourceTrigger=PropertyChanged}" />
{
}
Why is this happening? How could i get the first behaviour using data binding of the mask?