Quantcast
Channel: wpftoolkit Wiki Rss Feed
Viewing all articles
Browse latest Browse all 892

New Comment on "PropertyGrid"

$
0
0
Hi, This is not an error. TargetProperties is an IList, but you can set it in XAML with a type, or strings separated by comma. An internal TypeConverter is used to convert what you pass and add it to a List. The error is only present in the Designer. To prevent the error, you can rewrite the lines : <xctk:EditorTemplateDefinition TargetProperties="{x:Type sys:Double}"> ... </xctk:EditorTemplateDefinition> by <xctk:EditorTemplateDefinition> <xctk:EditorTemplateDefinition.TargetProperties> <xctk:TargetPropertyType Type="{x:Type sys:Double}" /> </xctk:EditorTemplateDefinition.TargetProperties> ... </xctk:EditorTemplateDefinition>

Viewing all articles
Browse latest Browse all 892

Trending Articles



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