We’re having a problem with XamCurrencyEditor when its properties are set a specific way.
Here's the problem: If you want to enter only a cents value into the editor (say $0.25), you have to either (a) press decimal point twice or (b) enter a leading zero first. If you press decimal point once, any digits entered are taken as the dollar value.
For example, if I want to enter 25 cents and press decimal point, then 2, then 5, it ignores the decimal point and displays a value of $25.00.
Here's the specific set of property settings that lead to this situation:
This does not happen when PromptChar is something other than null (like the default underscore value) or when SelectAll() isn't called.
Here's some sample XAML/C# to illustrate the scenario:
<igEditors:XamCurrencyEditor x:Name="zzz" Width="150" IsAlwaysInEditMode="True" Value="123.45" />
InitializeComponent();
this.zzz.PromptChar = '\0';this.zzz.SelectAll();
Hi,
Can you please write the exact version of our product. It looks like: 11.2.1012
Because we have a bug for this, and it is fixed in last the ServiceRelease.
Regards,
Anastas
This is happening in version 11.2.20112.2125 of the WPF LOB controls.