RadMaskedTextInput SpaceBar bug - change font

2 posts, 0 answers
  1. Jason
    Jason avatar
    4 posts
    Member since:
    Mar 2011

    Posted 03 Nov 2013 Link to this post

    Hello
    If you place your cursor at the beginning of the field and hold down the space bar your text would appear spaced out and the font changes.

    Steps:
    • Place your cusor at the beginning of the name field
    • Hold down and press the space bar
    • Notice text has space between them and the font text changes
    • See attached screenshot


    <Window x:Class="IndexOutOfRangeExceptionMaskedNumeric.MainWindow"
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            xmlns:a="clr-namespace:IndexOutOfRangeExceptionMaskedNumeric"
            xmlns:maskedInput="clr-namespace:Telerik.Windows.Controls.MaskedInput;assembly=Telerik.Windows.Controls.Input"
            xmlns:telerikInput="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input"
            Title="MainWindow" Height="350" Width="525">
        <Window.Resources>
            

            <Style x:Key="RadMaskedInputBaseStyle" TargetType="telerikInput:RadMaskedInputBase">
               
                <Setter Property="TextMode" Value="PlainText"/>
                <Setter Property="IsClearButtonVisible" Value="False"/>
                <Setter Property="Placeholder" Value="_"/>
                <Setter Property="Mask" Value=""/>
                <Setter Property="UpdateValueEvent" Value="PropertyChanged"/>
               
            </Style>
           
        </Window.Resources>
        <StackPanel>
            <telerikInput:RadMaskedTextInput x:Name="edtTextBoxControl" Style="{StaticResource RadMaskedInputBaseStyle}"
                                          HorizontalAlignment="Left"
     VerticalAlignment="Center"
                                          Value="{Binding Value,UpdateSourceTrigger=PropertyChanged}"
     
    />
            <TextBox Text="{Binding Value}"/>
        </StackPanel>
    </Window>


    Thank you
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 04 Nov 2013 Link to this post

    Hi Jason,

     This is a known issue sin the RadMaskedTextInput. The fix will be available in this week's internal build as well as in the ServicePack later this month. Please excuse us for the inconvenience caused.

    Regards,
    Petar Mladenov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top