wpftoolkit
wpftoolkit copied to clipboard
DoubleUpDown: When FormatString contains a unit, editing the text may cause unexpected result
I am using a DoubleUpDown to show power in Watt using FormatString="{}{0:0.###} W". If I edit the value without removing the "W" the decimal comma is lost. For example when insering "2," before "5 W" in the text box of the control I dont get "2,5 W" as expected but "25 W"!
This could cause my clients who use our software to overheat their samples.
If I instead just type "2,5" when the how text is selected ("5 W") I get "2,5 W" as expected.
Hi,
You are right ! We will have a look at this and get back to you. Thank you for pointing this out.
Hi,
In version 4.4, using FormatString and modifying number part will no longer removes the decimal part.
Sounds good. When is version 4.4 scheduled to be released?
这里是郭瑞的邮箱,已收到您的来件,我会尽快拜阅并给予您回复
Hello, v4.4 should be released by the end of August 2022.
Hello,
Thank you for the information.
Regards @nders
Från: XceedBoucherS @.> Skickat: den 28 juni 2022 19:02 Till: xceedsoftware/wpftoolkit @.> Kopia: Anders Isacson @.>; Author @.> Ämne: Re: [xceedsoftware/wpftoolkit] DoubleUpDown: When FormatString contains a unit, editing the text may cause unexpected result (Issue #1703)
Hello, v4.4 should be released by the end of August 2022.
— Reply to this email directly, view it on GitHubhttps://github.com/xceedsoftware/wpftoolkit/issues/1703#issuecomment-1168992937, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANFCEVCIIKW57QYRGFYVUE3VRMVY7ANCNFSM5QVYEPTA. You are receiving this because you authored the thread.Message ID: @.***>