Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
75
XamNumericEditor Format problems
posted

Hello,

I'm using a NumericEditor in an application but it doesn't seems to work. I've done a very simple test application to show the bad behaviour of the editor. I've used the workaround to initialize the default Language value based on the current culture (http://forums.infragistics.com/forums/p/14138/52092.aspx#52092).

I write this on the editor: "123123123" and the control shows this while I'm editing: _123.123.123,__ and when I change the focus to another control, the editor shows: "123,00". Any idea?

<Window x:Class="InfragisticsTest.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:ifged="clr-namespace:Infragistics.Windows.Editors;assembly=Infragistics3.Wpf.Editors.v8.2"
    Title="Window1" Height="83" Width="206">
    <StackPanel>
        <ifged:XamNumericEditor x:Name="txtTest" />
        <Button>Ok</Button>
    </StackPanel>
</Window>

Thanks a lot in advance,

Marc.

PS: I'm using 8.2 version because I need the DateTimePicker. I've tried with the 7.2 and works fine!