I'm trying to only allow users to type in 6 digits integer with prefix "CA", and now I can only type in one leading zero, not multiple zeros.
Here is my code, and ProjectNumber is a nullable double.
<telerik:RadMaskedNumericInput
Grid.Column="0"
Margin="25, 0, 0, 10"
Width="100"
Mask="CA#####"
Placeholder=""
AutoFillZeros="False"
AutoFillNumberGroupSeparators ="False"
IsClearButtonVisible="False"
AllowInvalidValues="True"
Validation.ErrorTemplate="{x:Null}"
maskedInput:MaskedInputExtensions.Minimum="0"
HorizontalContentAlignment="Left"
HorizontalAlignment="Left"
Value="{Binding Path=(viewModel:IProjectFolderViewModel.ProjectNumber), Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
Also, the prefix 'CA' only appears after users click on the input box or type in something. is there anyway that we could show the prefix all the time.