HandyControl icon indicating copy to clipboard operation
HandyControl copied to clipboard

hc:TextBox无法正常输入小数

Open w-s-q opened this issue 1 year ago • 0 comments

Describe the bug

当hc:TextBox的text绑定的数据类型为float或者double类型时,无法正常的输入小数点。比如当输入12.3时,只能先输入123,然后鼠标移到2和3之间,输入小数点。

Steps to reproduce the bug

1、在ViewModel中有一个Point属性,类型是float 2、在View上添加一个hc:Text控件,Value绑定 Value="{Binding Point, Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" 3、启动程序,输入小数。

Expected behavior

No response

Screenshots

No response

NuGet package version

HandyControl 3.3.0

IDE

Visual Studio 2022

Framework type

.Net 6.0

Windows version

No response

Additional context

No response

w-s-q avatar Jul 28 '22 09:07 w-s-q