@ -284,8 +284,8 @@ namespace ICSharpCode.WpfDesign.XamlDom
@@ -284,8 +284,8 @@ namespace ICSharpCode.WpfDesign.XamlDom
if ( collectionElements . Count = = 0 & & this . PropertyName ! = this . ParentObject . ContentPropertyName ) {
// we have to create the collection element
_ propertyElement = parentObject . OwnerDocument . XmlDocument . CreateElement (
this . PropertyTarge tType. Name + "." + this . PropertyName ,
parentObject . OwnerDocument . GetNamespaceFor ( this . PropertyTarge tType)
ParentObject . Elemen tType. Name + "." + this . PropertyName ,
parentObject . OwnerDocument . GetNamespaceFor ( ParentObject . Elemen tType)
) ;
parentObject . XmlElement . AppendChild ( _ propertyElement ) ;
collection = _ propertyElement ;