Hi
Yes, I could do this. But the reason why I'm, using the datatemplate at all is, that I want to have immediate validation while typing (using UpdateSourceTrigger=PropertyChanged). And I just want to use the builtin validation rules from WPF like in the textbox. If I did use own converters, would have to re-implement the WPF's standard converters (or re-use them somehow). And I need to specify it for every possible type in the grid.
I could do all that, but I really ask myself whether something in the internal grid implementation is ignoring the culture settings?
Andreas
Yes, I could do this. But the reason why I'm, using the datatemplate at all is, that I want to have immediate validation while typing (using UpdateSourceTrigger=PropertyChanged). And I just want to use the builtin validation rules from WPF like in the textbox. If I did use own converters, would have to re-implement the WPF's standard converters (or re-use them somehow). And I need to specify it for every possible type in the grid.
I could do all that, but I really ask myself whether something in the internal grid implementation is ignoring the culture settings?
- It is it working with a "normal" textbox.
- It is working when I do NOT use the data template (But I can't use this option as I want to set the UpdateSourceTrigger to PropertyChanged)
-
It does not work with the data template (same textBox binding settings like outside if the grid). This seems to be is a sign that something in the implementation is ignoring the culture when converting.
Andreas