Here's my xaml:
This is a simple text field for a TCP/IP port. It should have 5 digits. When the input field is not in focus and the port is only 4 digits (e.g. 8000) the text is left-aligned. When the input field is in focus and being edited, it places what I believe is a placeholder for the empty left-most digit. It really should just leave it as a left-aligned 4-digit number. This is truly annoying.
In general, this control is horribly complicated and could be made simpler by making much of the above xaml the default values.
<telerik:RadMaskedNumericInput HorizontalAlignment="Stretch" Grid.Row="3" Grid.Column="1" Value="{Binding Port}" IsClearButtonVisible="False" IsEnabled="{Binding IsReady}" Margin="0,5,0,0" Mask="d5" AutoFillNumberGroupSeparators="False" AllowSkipPlaceholders="False" HorizontalContentAlignment="Left" SelectionOnFocus="CaretToBeginning" Placeholder=" " AutoFillZeros="False" TextMode="PlainText" InputBehavior="Insert"/>This is a simple text field for a TCP/IP port. It should have 5 digits. When the input field is not in focus and the port is only 4 digits (e.g. 8000) the text is left-aligned. When the input field is in focus and being edited, it places what I believe is a placeholder for the empty left-most digit. It really should just leave it as a left-aligned 4-digit number. This is truly annoying.
In general, this control is horribly complicated and could be made simpler by making much of the above xaml the default values.