Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: DataTemplate and CurrentCulture

$
0
0
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?
  • 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.
regards

Andreas

Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>