WPF DataGridTextColumn Can't type point for float data
- by Alvin
I had a WPF DataGrid and use DataGridTextColumn Binding to a Collection. The items in Collection had some float property.
When my program launched, I modify the value of float property in DataGrid, if I type a integer value, it works well. But if I type char . for a float value, char . can't be typed. I had to type all the numbers first, and then jump to the . position to type char . to finish my input.
So how can I type . in my situation?
Thanks.