Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DataGridTextColumn doesn't allow to enter "double" value

I have property double? MyDouble { get .. set ... }. I've binded it in DataGridTextColumn:

<DataGridTextColumn Binding="{Binding MyDouble}" />

It works fine unless I add UpdateSourceTrigger=PropertyChanged.

<DataGridTextColumn Binding="{Binding MyDouble, 
                              UpdateSourceTrigger=PropertyChanged}" />

In this case I can't enter "." and add "double" value. How can I avoid this behavior?

like image 204
Rover Avatar asked May 31 '26 06:05

Rover


1 Answers

Uninstall .NET 4.5 Beta. I've posted this bug to Microsoft support.

like image 148
Rover Avatar answered Jun 02 '26 18:06

Rover