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>
↧