Quantcast
Channel: wpftoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 2157

New Post: DataTemplate and CurrentCulture

$
0
0
Hi,

I understand what you say.
But the property "ValidationDouble2" is a double and if you don't use a DataTemplate in the PropertyGrid's EditorDefinitions for type "Double", the default editor will be a DoubleUpDownEditor. This means a double value will be displayed with a double editor.
If you use a DataTemplate in the PropertyGrid's EditorDefinitions for type "Double" that is a TextBox, there need to be a conversion "double-string" (maybe the default converters could be ignoring the culture ?)
If you use a DataTemplate in the PropertyGrid's EditorDefinitions for type "Double", you should use a DoubleUpDown or a PropertyGridEditorDoubleUpDown. That should work.

Viewing all articles
Browse latest Browse all 2157

Trending Articles



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