WPF DataGridTextColumn Can't type point for float data
Posted
by
Alvin
on Stack Overflow
See other posts from Stack Overflow
or by Alvin
Published on 2012-12-19T10:00:45Z
Indexed on
2012/12/19
11:03 UTC
Read the original article
Hit count: 565
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.
© Stack Overflow or respective owner